CVE-2025-32434
PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
CRITICAL 9.3EPSS 2.4%
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.
- Affected
- pytorch
- CVSS v4.0 GITHUB
- 9.3 CRITICAL
CVSS: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 - CVSS v4.0 GitHub
- 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 2.37% chance of exploitation in the next 30 days, 84th percentile
- Published
- 2025-04-18
- Updated
- 2025-12-01
Proof-of-concept exploits (3)
- AlexanderGumeniuk/CVE-2025-324342★ · 2026-06-30
- B1tBit/CVE-2025-32434-exploit1★ · 2026-04-22
- cyhe50/cve-2025-32434-poc0★ · 2025-11-25