CVE-2025-32434: linuxfoundation pytorch Deserialization of Untrusted Data
Vulnerability summary
CVE-2025-32434 is a critical (CVSS 9.8) Deserialization of Untrusted Data vulnerability in linuxfoundation pytorch. EPSS estimates a 2.37% chance of exploitation in the next 30 days, higher than 83.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 18-04-2025PublishedVulnerability first disclosed.
- 01-12-2025Last modifiedVulnerability information updated.
Description
PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch.load with weights_only=True. This issue has been patched in version 2.6.0.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · ChainguardEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.37%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
+0.31 pp
From 2.06% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- py3.10-torch-2.3-cuda-12.4All versions (No fix recorded)
Debian1 product
- pytorchAll versions (No fix recorded) | < 2.6.0+dfsg-1 | < 1.7.1-7+deb11u1
Linuxfoundation1 product
- pytorch< 2.6.0
PyPI1 product
- torch< 2.6.0
Pytorch1 product
- pytorch< 2.6.0
5 vendors · 5 products
References
8 links- github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6X Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/pytorch/pytorchPACKAGE