CVE-2025-2998
MEDIUMCVSS 5.3/10EPSS 0.17%
Last modified
CVE-2025-2998 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. A vulnerability was found in PyTorch 2.6.0. It has been declared as critical. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Pytorch | 2.6.0 |
References
- https://github.com/pytorch/pytorch/issues/149622Issue Tracking, Vendor Advisory
- https://github.com/pytorch/pytorch/issues/149622#issue-2935495265Issue Tracking, Vendor Advisory
- https://vuldb.com/?ctiid.302047Permissions Required, VDB Entry
- https://vuldb.com/?id.302047Third Party Advisory, VDB Entry
- https://vuldb.com/?submit.524151Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-2998?
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.
How severe is CVE-2025-2998?
CVE-2025-2998 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 0.17% probability of exploitation in the next 30 days.
How do I fix CVE-2025-2998?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-29974Integer underflow (wrap or wraparound) in Windows Kernel all…5.7
- CVE-2025-29975Improper link resolution before file access ('link following…7.8
- CVE-2025-29976Improper privilege management in Microsoft Office SharePoint…7.8
- CVE-2025-29977Use after free in Microsoft Office Excel allows an unauthori…7.8
- CVE-2025-29978Use after free in Microsoft Office PowerPoint allows an unau…7.8
- CVE-2025-29979Heap-based buffer overflow in Microsoft Office Excel allows …7.8
- CVE-2025-29980A SQL injection issue has been discovered in eTRAKiT.net rel…9.8
- CVE-2025-29981Dell Wyse Management Suite, versions prior to WMS 5.1, conta…7.5
- CVE-2025-29982Dell Wyse Management Suite, versions prior to WMS 5.1, conta…6.8
- CVE-2025-29983Dell Trusted Device, versions prior to 7.0.3.0, contain an I…7.3
- CVE-2025-29984Dell Trusted Device, versions prior to 7.0.3.0, contain an I…7.3
- CVE-2025-29985Dell Common Event Enabler, version(s) CEE 9.0.0.0, contain(s…6.5
Are you affected by CVE-2025-2998?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
