CVE-2025-2998PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption
- 4.8MediumCVSS base score
- 0.20%Exploitation in 30 daysEPSS · top 90% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
A vulnerability was found in PyTorch 2.6.0. It has been declared as critical. Affected by this vulnerability is the function torch.nn.utils.rnn.pad_packed_sequence. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
Timeline
ID reserved
By VulDB
- 1 day later
· 1 day later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 4.0 | Medium4.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| VulDBCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 3.0 | Medium5.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 2.0 | Medium4.3 | AV:L/AC:L/Au:S/C:P/I:P/A:P |
| NVDNVD · Analyzed | 4.0 | Medium4.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.8.
Affected products
PyTorch
- affected 2.6.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References
References5
- VDB-302047 | PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption (opens in a new tab)vdb-entrytechnical-description
- VDB-302047 | CTI Indicators (IOB, IOC, IOA) (opens in a new tab)signaturepermissions-required
- Submit #524151 | pytorch torch 2.6.0 Segmentation fault (opens in a new tab)third-party-advisory
- https://github.com/pytorch/pytorch/issues/149622 (opens in a new tab)issue-tracking
- https://github.com/pytorch/pytorch/issues/149622#issue-2935495265 (opens in a new tab)exploitissue-tracking
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-8748 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-f4hp-rmr7-r7v8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-2998)Record last updated .