# CVE-2025-32434: PyTorch: \`torch.load\` with \`weights\_only=True\` leads to remote code execution

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.6.0 (CNA); fix release not confirmed
- Status: published
- Published: 2025-04-18 · Modified: 2025-12-01
- Aliases: GHSA-53q9-r3pm-6pq6, BIT-pytorch-2025-32434, PYSEC-2025-41, DEBIAN-CVE-2025-32434, DLA-4389-1, CGA-pg46-587f-m548
- Record: https://cvemate.com/vulnerability/CVE-2025-32434 · JSON: https://cvemate.com/vulnerability/CVE-2025-32434/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.369%, percentile 84.364%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard py3.10-torch-2.3-cuda-12.4 (Chainguard): All versions (No fix recorded)
- debian pytorch (Debian): \< 1.7.1-7+deb11u1 \| All versions (No fix recorded) \| \< 2.6.0+dfsg-1
- linuxfoundation pytorch: \< 2.6.0
- PyPI torch (PyPI): \< 2.6.0
- pytorch pytorch: \< 2.6.0

## References

- <https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6>
- <https://lists.debian.org/debian-lts-announce/2025/12/msg00000.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32434>
- <https://github.com/pytorch/pytorch/commit/8d4b8a920a2172523deb95bf20e8e52d50649c04>
- <https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-41.yaml>
- <https://github.com/pytorch/pytorch>
- <https://security-tracker.debian.org/tracker/CVE-2025-32434>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32434.json>

---

Data as of 2026-12-05T04:39:10.061Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
