{"schemaVersion":3,"id":"CVE-2025-3001","aliases":["GHSA-qfhq-4f3w-5fph","BIT-pytorch-2025-3001","PYSEC-2025-195","UBUNTU-CVE-2025-3001","DEBIAN-CVE-2025-3001","CGA-2h53-rf3m-4c44","CGA-2rqr-vrg6-7q57","CGA-55hg-f3mw-3x6m","CGA-683p-27vf-rwfp","CGA-7573-c7qj-fxm9","CGA-7mj7-4vgg-4mfh","CGA-c5vr-mr2h-9r98","CGA-cgwr-p3r6-vj8h","CGA-fcmc-pwj5-59jr","CGA-h7gp-6r37-4xfj","CGA-hx6q-jpfg-jqp7","CGA-mj53-7c96-fmmm","CGA-pfx4-jmp7-c2cm","CGA-pgrm-64pj-gh2x","CGA-qjcj-2pjq-j46m","CGA-qv8p-5ffm-vcwh","CGA-rwgr-j25f-hpw3","CGA-rwx3-j55q-6p88","CGA-x8fp-392v-4rrm","CGA-xqwr-4fv7-3q96"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-03-31T15:31:05.008Z","modified":"2025-03-31T18:47:18.769Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":4.3,"severity":"medium","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":4.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":4.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":4.6,"impact":5.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":4.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":4.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":4.8,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00198,"percentile":0.09032,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00198},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00198,"percentile":0.09032}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00198,"percentile":0.09032}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PYTORCH_PYTORCH","name":"Pytorch","source":"github","url":"https://github.com/pytorch/pytorch/issues/147818#issue-2877301660","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"chainguard","product":"py3.10-torch-2.3-cuda-12.4","name":"py3.10-torch-2.3-cuda-12.4","label":"py3.10-torch-2.3-cuda-12.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.10-torch-2.3-cuda-12.4","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.10-torch-2.6-cuda-12.4","name":"py3.10-torch-2.6-cuda-12.4","label":"py3.10-torch-2.6-cuda-12.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.10-torch-2.6-cuda-12.4","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.10-torch-2.7-cuda-12.8","name":"py3.10-torch-2.7-cuda-12.8","label":"py3.10-torch-2.7-cuda-12.8","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.10-torch-2.7-cuda-12.8","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.11-torch-2.6-cuda-12.4","name":"py3.11-torch-2.6-cuda-12.4","label":"py3.11-torch-2.6-cuda-12.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.11-torch-2.6-cuda-12.4","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.11-torch-2.7-cuda-12.8","name":"py3.11-torch-2.7-cuda-12.8","label":"py3.11-torch-2.7-cuda-12.8","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.11-torch-2.7-cuda-12.8","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.12-torch-2.6-cuda-12.4","name":"py3.12-torch-2.6-cuda-12.4","label":"py3.12-torch-2.6-cuda-12.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.12-torch-2.6-cuda-12.4","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.12-torch-2.7-cuda-12.8","name":"py3.12-torch-2.7-cuda-12.8","label":"py3.12-torch-2.7-cuda-12.8","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.12-torch-2.7-cuda-12.8","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.12-torch-cuda-13.0-2.9","name":"py3.12-torch-cuda-13.0-2.9","label":"py3.12-torch-cuda-13.0-2.9","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.12-torch-cuda-13.0-2.9","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.13-torch-2.6-cuda-12.4","name":"py3.13-torch-2.6-cuda-12.4","label":"py3.13-torch-2.6-cuda-12.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.13-torch-2.6-cuda-12.4","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.13-torch-2.7-cuda-12.8","name":"py3.13-torch-2.7-cuda-12.8","label":"py3.13-torch-2.7-cuda-12.8","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.13-torch-2.7-cuda-12.8","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"tritonserver-backend-vllm-cuda-12.9","name":"tritonserver-backend-vllm-cuda-12.9","label":"tritonserver-backend-vllm-cuda-12.9","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/tritonserver-backend-vllm-cuda-12.9","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"pytorch","name":"pytorch","label":"pytorch","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pytorch","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.12.0+dfsg2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.12.0+dfsg2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pytorch","name":"pytorch","label":"pytorch","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pytorch","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"linuxfoundation","product":"pytorch","name":"pytorch","label":"pytorch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.6.0","eol":null,"hubHref":"/vendor/linuxfoundation/pytorch"},{"vendor":"PyPI","product":"torch","name":"torch","label":"torch","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/torch","purlType":"pypi","versions":[{"text":"< 2.10.0","noFixRecorded":false,"fixedIn":null},{"text":"≤ 2.6.0-NA","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.0 | ≤ 2.6.0-NA","eol":null,"hubHref":null}],"affectedCount":15,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.302050","label":"vuldb.com?id.302050","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","WEB","Advisory","REPORT","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.302050","label":"vuldb.com?ctiid.302050","hostname":"vuldb.com","tags":["Signature","Permissions Required","WEB","REPORT","VDB Entry"]},{"url":"https://vuldb.com/?submit.524212","label":"vuldb.com?submit.524212","hostname":"vuldb.com","tags":["Third Party Advisory","WEB","Advisory","REPORT","VDB Entry"]},{"url":"https://github.com/pytorch/pytorch/issues/149626","label":"github.com/pytorch/pytorch/issues/149626","hostname":"github.com","tags":["Issue Tracking","WEB","REPORT","Vendor Advisory"]},{"url":"https://github.com/pytorch/pytorch/issues/149626#issue-2935860995","label":"github.com/pytorch/pytorch/issues/149626","hostname":"github.com","tags":["Exploit","Issue Tracking","WEB","REPORT","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3001","label":"nvd.nist.gov/vuln/detail/CVE-2025-3001","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/pytorch/pytorch/commit/999d94b5ede5f4ec111ba7dd144129e2c2725b03","label":"github.com/pytorch/pytorch/commit/999d94b5ede5f4ec111ba7dd144129e2c2725b03","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-195.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-195.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pytorch/pytorch","label":"github.com/pytorch/pytorch","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-qfhq-4f3w-5fph","label":"github.com/advisories/GHSA-qfhq-4f3w-5fph","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-3001","label":"ubuntu.com/security/CVE-2025-3001","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-3001","label":"www.cve.org/CVERecord?id=CVE-2025-3001","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-3001","label":"security-tracker.debian.org/tracker/CVE-2025-3001","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3001.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3001.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-03-31T15:31:05.008Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-31T18:47:18.769Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:00:45.128Z","stale":false,"partial":false}}