Paper/Archive/CVE-2025-32434

CVE-2025-32434

pytorch pytorch — PyTorch: `torch.load` with `weights_only=True` leads to remote code execution

Description · from the CVE record

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

ProductAffectedFixed inSource
pytorch< 2.6.0–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6reflists.debian.org/debian-lts-announce/2025/12/msg00000.html