{"id":"CVE-2025-2999","published":"2025-03-31T14:31:04Z","modified":"2025-03-31T15:15:18Z","title":"PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00202,"percentile":0.10323,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://vuldb.com/?id.302048","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.302048","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.524198","tags":["third-party-advisory"]},{"url":"https://github.com/pytorch/pytorch/issues/149622","tags":["issue-tracking"]},{"url":"https://github.com/pytorch/pytorch/issues/149622#issue-2935495265","tags":["exploit","issue-tracking"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":2.06},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"PyTorch","versions":["2.6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-31T15:04:36.650196Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"torch","vulnerableRanges":["<2.9.1","<=2.6.0-NA"],"patched":["2.9.1"],"from":["GHSA-vgrw-7cvw-pwgx","PYSEC-2025-193"],"provenance":"source"}],"summary":{"text":"A memory corruption flaw exists in the torch.nn.utils.rnn.unpack_sequence function of PyTorch 2.6.0, arising from improper restriction of operations within the bounds of a memory buffer.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:55Z"},"euvd":{"id":"EUVD-2025-8755","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/pytorch/pytorch/issues/149622#issue-2935495265"],"lineage":{"packageHistory":[{"cve":"CVE-2025-55551","published":"2025-09-25","fixed":"2.9.0","kev":false},{"cve":"CVE-2025-55552","published":"2025-09-25","fixed":"2.9.0","kev":false},{"cve":"CVE-2025-55554","published":"2025-09-25","fixed":"2.9.0","kev":false},{"cve":"CVE-2025-2999","published":"2025-03-31","fixed":"2.9.1","kev":false},{"cve":"CVE-2025-3001","published":"2025-03-31","fixed":"2.10.0","kev":false,"link":{"from":"CVE-2025-2999","to":"CVE-2025-3001","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:torch","fromFixed":"2.9.1","toFixed":"2.10.0","daysApart":0}]}},{"cve":"CVE-2026-24747","published":"2026-01-27","fixed":"2.10.0","kev":false,"link":{"from":"CVE-2025-2999","to":"CVE-2026-24747","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:torch","fromFixed":"2.9.1","toFixed":"2.10.0","daysApart":302}]}},{"cve":"CVE-2025-3000","published":"2025-03-31","fixed":"2.13.0","kev":false}],"package":"PyPI:torch"}}