{"id":"CVE-2025-3001","aliases":["CVE-2025-3001","GHSA-qfhq-4f3w-5fph","BIT-PYTORCH-2025-3001","PYSEC-2025-195"],"related":[],"kind":"vulnerability","state":"published","title":"PyTorch torch.lstm_cell memory corruption","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"de","text":"In PyTorch 2.6.0 wurde eine Schwachstelle entdeckt. Sie wurde als kritisch eingestuft. Es geht um die Funktion torch.lstm_cell. Dank Manipulation mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs hat dabei lokal zu erfolgen. Der Exploit steht zur öffentlichen Verfügung.","source":"cvelist"},{"lang":"en","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.\n\nA patch is available through commit [999d94b](https://github.com/pytorch/pytorch/commit/999d94b5ede5f4ec111ba7dd144129e2c2725b03).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró una vulnerabilidad clasificada como crítica en PyTorch 2.6.0. Esta vulnerabilidad afecta a la función torch.lstm_cell. Su manipulación provoca corrupción de memoria. El ataque debe abordarse localmente. Se ha hecho público el exploit y puede que sea utilizado.","source":"nvd"}],"published":"2025-03-31T15:31:05.008Z","modified":"2026-09-08T08:48:18.828Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-119"],"affected":[{"ranges":[{"version":"2.6.0","status":"affected"}],"product":"PyTorch","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.10.0"}],"ecosystem":"PyPI","package":"torch","purl":"pkg:pypi/torch","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.6.0"}],"vendor":"linuxfoundation","product":"pytorch","cpe":"cpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.6.0-NA"}],"ecosystem":"PyPI","package":"torch","purl":"pkg:pypi/torch","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.6.0","status":"affected","fixed":"2.7.0"}],"ecosystem":"Bitnami","package":"pytorch","purl":"pkg:bitnami/pytorch","source":"bitnami"}],"references":[{"url":"https://vuldb.com/?id.302050","tags":["advisory","technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://vuldb.com/?ctiid.302050","tags":["permissions-required","report","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://vuldb.com/?submit.524212","tags":["advisory","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/issues/149626","tags":["advisory","issue-tracking","report","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/issues/149626#issue-2935860995","tags":["advisory","exploit","issue-tracking","report","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3001","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/pytorch/pytorch/commit/999d94b5ede5f4ec111ba7dd144129e2c2725b03","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-195.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pytorch/pytorch","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qfhq-4f3w-5fph","tags":["advisory"],"sources":["pysec"]}],"credits":["Default436352 (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-31T16:13:57.976Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-3001","url":"https://www.cve.org/CVERecord?id=CVE-2025-3001","licence":"CVE Terms of Use","modified":"2025-03-31T18:47:18.769Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qfhq-4f3w-5fph","url":"https://github.com/advisories/GHSA-qfhq-4f3w-5fph","licence":"CC-BY-4.0","modified":"2026-06-10T18:26:26.736Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-3001","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3001","licence":"Public domain","modified":"2026-06-17T09:18:59.470Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-195","url":"https://osv.dev/vulnerability/PYSEC-2025-195","licence":"CC-BY-4.0","modified":"2026-07-13T16:45:06.480Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTORCH-2025-3001","url":"https://osv.dev/vulnerability/BIT-PYTORCH-2025-3001","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.828Z"}],"updatedAt":"2026-11-25T22:58:55.736Z","epss":{"score":0.00202,"percentile":0.10703,"date":"2026-12-01T12:00:22.000Z"}}