{"schemaVersion":3,"id":"CVE-2025-32434","aliases":["GHSA-53q9-r3pm-6pq6","BIT-pytorch-2025-32434","PYSEC-2025-41","DEBIAN-CVE-2025-32434","DLA-4389-1","CGA-pg46-587f-m548"],"status":"published","duplicateOf":null,"title":null,"description":"PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch.load with weights_only=True. This issue has been patched in version 2.6.0.","dates":{"published":"2025-04-18T15:48:18.851Z","modified":"2025-12-01T07:05:28.923Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.3,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":9.3,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.3,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02369,"percentile":0.83589,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.3119999999999998,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02057},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02369,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02369,"percentile":0.83589}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02057,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02187,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02329,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02369,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02369,"percentile":0.83589}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.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":"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.6.0+dfsg-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.7.1-7+deb11u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.6.0+dfsg-1 | < 1.7.1-7+deb11u1","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.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.0","eol":null,"hubHref":null},{"vendor":"pytorch","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/pytorch/pytorch"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6","label":"github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/12/msg00000.html","label":"lists.debian.org/debian-lts-announce/2025/12/msg00000.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32434","label":"nvd.nist.gov/vuln/detail/CVE-2025-32434","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/pytorch/pytorch/commit/8d4b8a920a2172523deb95bf20e8e52d50649c04","label":"github.com/pytorch/pytorch/commit/8d4b8a920a2172523deb95bf20e8e52d50649c04","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-41.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-41.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pytorch/pytorch","label":"github.com/pytorch/pytorch","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-32434","label":"security-tracker.debian.org/tracker/CVE-2025-32434","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32434.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32434.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-FPX9-7CQX-HX2P"]},"timeline":[{"kind":"published","date":"2025-04-18T15:48:18.851Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-01T07:05:28.923Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:39:34.482Z","stale":false,"partial":false}}