{"id":"CVE-2025-3001","published":"2025-03-31T15:31:05Z","modified":"2025-03-31T18:47:18Z","title":"PyTorch torch.lstm_cell memory corruption","vendor":null,"product":null,"tier":"tail","description":{"text":"A vulnerability classified as critical was found in PyTorch 2.6.0. This vulnerability affects the function torch.lstm_cell. The manipulation leads to memory corruption. The attack needs to be approached locally. 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.00295,"percentile":0.14594,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://vuldb.com/?id.302050","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.302050","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.524212","tags":["third-party-advisory"]},{"url":"https://github.com/pytorch/pytorch/issues/149626","tags":["issue-tracking"]},{"url":"https://github.com/pytorch/pytorch/issues/149626#issue-2935860995","tags":["exploit","issue-tracking"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":2.92},{"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":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-31T16:13:57.976044Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"torch","vulnerableRanges":["<2.10.0","<=2.6.0-NA"],"patched":["2.10.0"],"from":["GHSA-qfhq-4f3w-5fph","PYSEC-2025-195"],"provenance":"source"}],"summary":{"text":"The flaw is a memory corruption vulnerability in the torch.lstm_cell function of PyTorch, reported in version 2.6.0, and it stems from improper restriction of operations within the bounds of a memory buffer. An attacker with local access and low privileges, requiring no user interaction and low attack complexity, can manipulate the function to corrupt memory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:55Z"},"euvd":{"id":"EUVD-2025-8856","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/pytorch/pytorch/issues/149626#issue-2935860995"],"lineage":{"packageHistory":[{"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,"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-2025-3001","published":"2025-03-31","fixed":"2.10.0","kev":false},{"cve":"CVE-2026-24747","published":"2026-01-27","fixed":"2.10.0","kev":false},{"cve":"CVE-2025-3000","published":"2025-03-31","fixed":"2.13.0","kev":false,"link":{"from":"CVE-2025-3001","to":"CVE-2025-3000","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:torch","fromFixed":"2.10.0","toFixed":"2.13.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same package + description similarity"}]}}],"package":"PyPI:torch"}}