Vulnerabilities · 2025 · Linuxfoundation
CVE-2025-32434
Linuxfoundation Pytorch vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Pytorch. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxfoundation Pytorch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6 · Vendor Advisory
- lists.debian.org/debian-lts-announce/2025/12/msg00000.html
- github.com/pytorch/pytorch/commit/8d4b8a920a2172523deb95bf20e8e52d50649c04
- nvd.nist.gov/vuln/detail/CVE-2025-32434
- github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-41.yaml
- github.com/advisories/GHSA-53q9-r3pm-6pq6
- nvd.nist.gov/vuln/detail/CVE-2025-32434
- cve.org/CVERecord?id=CVE-2025-32434
More vulnerabilities in Linuxfoundation products
CVE-2026-24747CVE-2026-24117CVE-2026-23955CVE-2026-23831CVE-2025-68141CVE-2025-68140CVE-2025-68139CVE-2025-68138All 418
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.