{"id":"CVE-2025-2999","aliases":["BIT-pytorch-2025-2999","GHSA-vgrw-7cvw-pwgx","PYSEC-2025-193"],"url":"https://o3.security/vulnerability/CVE-2025-2999","summary":"PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption","details":"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.","published":"2025-03-31T14:31:04.982Z","modified":"2026-07-15T01:49:01.082543491Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"torch","fixedVersion":"2.9.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2999.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2999"},{"type":"ADVISORY","url":"https://vuldb.com/?id.302048"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.524198"},{"type":"REPORT","url":"https://github.com/pytorch/pytorch/issues/149622"},{"type":"REPORT","url":"https://github.com/pytorch/pytorch/issues/149622#issue-2935495265"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.302048"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:01.082543491Z"}}