{"schemaVersion":4,"id":"CVE-2026-136426","aliases":["UBUNTU-CVE-2026-136426","DEBIAN-CVE-2026-136426"],"status":"published","duplicateOf":null,"title":"PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability","description":"PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PyTorch. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.\n\nThe specific flaw exists within the parsing of PT2 files. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32602.","dates":{"published":"2026-11-24T18:40:19.784Z","modified":"2026-12-01T19:37:21.654Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.00455,"percentile":0.41255,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-25T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00455,"percentile":0.41255}],"last30":[{"date":"2026-11-25T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00455,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00455,"percentile":0.41255}]},"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-94","name":"Improper Control of Generation of Code","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"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,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","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,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"pytorch foundation","product":"pytorch","name":"PyTorch","label":"pytorch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.13.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.13.0","startInclusive":true,"end":"2.13.0","endInclusive":true}}],"versionsText":"2.13.0","eol":null,"hubHref":"/vendor/pytorch_foundation/pytorch"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-1052/","label":"www.zerodayinitiative.com/advisories/ZDI-26-1052/","hostname":"www.zerodayinitiative.com","tags":["X Research Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-136426","label":"ubuntu.com/security/CVE-2026-136426","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136426","label":"www.cve.org/CVERecord?id=CVE-2026-136426","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-136426","label":"security-tracker.debian.org/tracker/CVE-2026-136426","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-24T18:40:19.784Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T19:37:21.654Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,78],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00455,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T19:37:21.654Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T19:37:21.654Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-01T19:37:21.654Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T19:37:21.654Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},{"type":"adp","source":"cisa-adp","date":"2026-11-25T04:57:19.909Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00455,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:58:26.680Z","stale":false,"partial":false}}