
CVE catalog
CVE-2025-2999
pytorch: CVE-2025-2999
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.20% · Oct 25, 2026
A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.
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 | vulnerable |
| Debian | pytorch | bookworm | 1.13.1+dfsg-4 | vulnerable |
| PyPI | torch | Not reported | 2.9.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pytorch | source | sid | 2.12.0+dfsg2-1 | not yet assigned | Not reported | [1102231] |
| Debian | pytorch | source | forky | 2.12.0+dfsg2-1 | not yet assigned | Not reported | [1102231] |
| Debian | pytorch | source | trixie | (unfixed) | not yet assigned | Not reported | [1102231] |
| Debian | pytorch | source | bookworm | (unfixed) | not yet assigned | Not reported | [1102231] |
| PyPI | torch | PyPI | Not reported | 2.9.1 | Not reported | GHSA-VGRW-7CVW-PWGX | Not reported |
Notes
[trixie] pytorch: Minor issue [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]Affected
Source package: [pytorch]
Details (2)
2.6.0+dfsg-7· amd64 · trixieAffected
dsa · pytorch · debian · 13
2.6.0+dfsg-7· arm64 · trixieAffected
dsa · pytorch · debian · 13
- [libtorch-dev]Affected
Source package: [pytorch]
Details (2)
2.6.0+dfsg-7· amd64 · trixieAffected
dsa · pytorch · debian · 13
2.6.0+dfsg-7· arm64 · trixieAffected
dsa · pytorch · debian · 13
- [libtorch-test]Affected
Source package: [pytorch]
Details (2)
2.6.0+dfsg-7· amd64 · trixieAffected
dsa · pytorch · debian · 13
2.6.0+dfsg-7· arm64 · trixieAffected
dsa · pytorch · debian · 13
- [python3-torch]Affected
Source package: [pytorch]
Details (2)
2.6.0+dfsg-7· amd64 · trixieAffected
dsa · pytorch · debian · 13
2.6.0+dfsg-7· arm64 · trixieAffected
dsa · pytorch · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-2999]
- [https://osv.dev/vulnerability/GHSA-vgrw-7cvw-pwgx]
- [https://security-tracker.debian.org/tracker/CVE-2025-2999]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0666.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]