
CVE catalog
CVE-2025-32434
pytorch: CVE-2025-32434
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.37% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pytorch | sid | 2.14.1+dfsg-1 | fixed |
| Debian | pytorch | forky | 2.14.1+dfsg-1 | fixed |
| Debian | pytorch | trixie | 2.6.0+dfsg-7 | fixed |
| Debian | pytorch | bookworm | 1.13.1+dfsg-4 | vulnerable |
| PyPI | torch | Not reported | 2.6.0 | fixed |
| PyPI | torch | Not reported | 2.6.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pytorch | source | sid | 2.6.0+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | pytorch | source | forky | 2.6.0+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | pytorch | source | trixie | 2.6.0+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | pytorch | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| PyPI | torch | PyPI | Not reported | 2.6.0 | Not reported | GHSA-53Q9-R3PM-6PQ6 | Not reported |
| PyPI | torch | PyPI | Not reported | 2.6.0 | Not reported | PYSEC-2025-41 | Not reported |
Notes
[bookworm] pytorch: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libtorch1.13]Affected
Source package: [pytorch]
Details (2)
1.13.1+dfsg-4· amd64 · bookwormAffected
dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12
1.13.1+dfsg-4· arm64 · bookwormAffected
dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12
- [libtorch-dev]Affected
Source package: [pytorch]
Details (2)
1.13.1+dfsg-4· amd64 · bookwormAffected
dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12
1.13.1+dfsg-4· arm64 · bookwormAffected
dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12
- [libtorch-test]Affected
Source package: [pytorch]
Details (2)
1.13.1+dfsg-4· amd64 · bookwormAffected
dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12
1.13.1+dfsg-4· arm64 · bookwormAffected
dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12
- [python3-torch]Affected
Source package: [pytorch]
Details (2)
1.13.1+dfsg-4· amd64 · bookwormAffected
dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12
1.13.1+dfsg-4· arm64 · bookwormAffected
dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12
[Debian 13 (Trixie)]
- [libtorch2.6]Fixed
Source package: [pytorch]
Details (2)
2.6.0+dfsg-7· amd64 · trixieFixed · Fixed:
2.6.0+dfsg-1dsa · pytorch · debian · 13
2.6.0+dfsg-7· arm64 · trixieFixed · Fixed:
2.6.0+dfsg-1dsa · pytorch · debian · 13
- [libtorch-dev]Fixed
Source package: [pytorch]
Details (2)
2.6.0+dfsg-7· amd64 · trixieFixed · Fixed:
2.6.0+dfsg-1dsa · pytorch · debian · 13
2.6.0+dfsg-7· arm64 · trixieFixed · Fixed:
2.6.0+dfsg-1dsa · pytorch · debian · 13
- [libtorch-test]Fixed
Source package: [pytorch]
Details (2)
2.6.0+dfsg-7· amd64 · trixieFixed · Fixed:
2.6.0+dfsg-1dsa · pytorch · debian · 13
2.6.0+dfsg-7· arm64 · trixieFixed · Fixed:
2.6.0+dfsg-1dsa · pytorch · debian · 13
- [python3-torch]Fixed
Source package: [pytorch]
Details (2)
2.6.0+dfsg-7· amd64 · trixieFixed · Fixed:
2.6.0+dfsg-1dsa · pytorch · debian · 13
2.6.0+dfsg-7· arm64 · trixieFixed · Fixed:
2.6.0+dfsg-1dsa · pytorch · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-32434]
- [https://osv.dev/vulnerability/DLA-4389-1]
- [https://osv.dev/vulnerability/PYSEC-2025-41]
- [https://security-tracker.debian.org/tracker/CVE-2025-32434]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-32434.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0857.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]