Memory corruptionin the torch package.
No public exploit found; not on exploited lists.
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.
- Upgrade torch (PyPI) to 2.9.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 30 Mar 2025CVE ID reserved by VulDB.
- 31 Mar 2025Published in the CVE List.
- 31 Mar 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
Same weakness: Memory buffer errors
- vuldb.com vdb-entry, technical-description
- vuldb.com signature, permissions-required
- vuldb.com third-party-advisory
- github.com issue-tracking
Patchminder. CVE-2025-2999: Memory corruption in the torch package. https://patchminder.com/cve/cve-2025-2999/ (accessed 5 December 2026).