{"schemaVersion":3,"id":"CVE-2025-30404","aliases":["GHSA-hj95-mhgf-jxc4","PYSEC-2026-335"],"status":"published","duplicateOf":null,"title":null,"description":"An integer overflow vulnerability in the loading of ExecuTorch models can cause overlapping allocations, potentially resulting in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit d158236b1dc84539c1b16843bc74054c9dcba006.","dates":{"published":"2025-08-07T22:46:57.161Z","modified":"2025-08-12T14:11:13.423Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","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":"3.1","versionLabel":"v3.1","source":"CVE.org","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},{"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 · Maven","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":"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.00619,"percentile":0.48718,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.02100000000000001,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00598},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00619,"percentile":0.48718}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00598,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00619,"percentile":0.48718}]},"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-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"org.pytorch","product":"executorch-android","name":"org.pytorch:executorch-android","label":"executorch-android","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.pytorch/executorch-android","purlType":"maven","versions":[{"text":"< 0.7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.0","eol":null,"hubHref":null},{"vendor":"meta platforms, inc","product":"executorch","name":"ExecuTorch","label":"executorch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006","noFixRecorded":false,"fixedIn":null}],"versionsText":"< https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006","eol":null,"hubHref":"/vendor/meta_platforms_inc/executorch"},{"vendor":"PyPI","product":"executorch","name":"executorch","label":"executorch","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/executorch","purlType":"pypi","versions":[{"text":"< 0.7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.0","eol":null,"hubHref":null},{"vendor":"github.com/pytorch","product":"executorch","name":"github.com/pytorch/executorch","label":"executorch","ecosystem":"SwiftURL","cpePart":null,"purl":"pkg:swift/github.com/pytorch/executorch","purlType":"swift","versions":[{"text":"< 0.7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.0","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.facebook.com/security/advisories/cve-2025-30404","label":"www.facebook.com/security/advisories/cve-2025-30404","hostname":"www.facebook.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006","label":"github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30404","label":"nvd.nist.gov/vuln/detail/CVE-2025-30404","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pytorch/executorch","label":"github.com/pytorch/executorch","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/executorch","label":"pypi.org/project/executorch","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","label":"github.com/advisories/GHSA-hj95-mhgf-jxc4","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-08-07T22:46:57.161Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-08-12T14:11:13.423Z","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-20T21:21:21.961Z","stale":false,"partial":false}}