{"id":"CVE-2025-30404","aliases":["EUVD-2025-23965","GHSA-hj95-mhgf-jxc4","PYSEC-2026-335"],"status":"published","title":"ExecuTorch integer overflow vulnerability","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00661,"percentile":0.5191,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2025-08-07T22:46:57Z","modified":"2026-10-28T10:59:00Z","fixes":[{"ecosystem":"PyPI","package":"executorch","fixed_in":["0.7.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.pytorch:executorch-android","fixed_in":["0.7.0"],"sources":["ghsa","osv"]},{"ecosystem":"SwiftURL","package":"github.com/pytorch/executorch","fixed_in":["0.7.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"executorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.pytorch:executorch-android","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}]},{"source":"ghsa","ecosystem":"SwiftURL","package":"github.com/pytorch/executorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"executorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"versions":["0.1.0","0.1.2","0.2.0","0.2.1","0.3.0","0.4.0","0.5.0","0.6.0"]},{"source":"osv","ecosystem":"Maven","package":"org.pytorch:executorch-android","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"versions":["0.5.0","0.5.1","0.6.0","0.6.0-rc1","0.6.0-rc3","0.6.0-rc4","0.6.0-rc6","0.7.0-rc1","0.7.0-rc2","0.7.0-rc5"]},{"source":"osv","ecosystem":"SwiftURL","package":"github.com/pytorch/executorch","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"executorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"versions":["0.1.0","0.1.2","0.2.0","0.2.1","0.3.0","0.4.0","0.5.0","0.6.0"]}],"products":[{"vendor":"meta platforms, inc","product":"executorch"}],"references":[{"url":"https://www.facebook.com/security/advisories/cve-2025-30404","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006","tags":["x_refsource_CONFIRM","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30404","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-335.yaml","tags":["web"]},{"url":"https://pypi.org/project/executorch","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30404.json","tags":["advisory"]},{"url":"https://github.com/pytorch/executorch","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-30404","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.","status":"published","published":"2025-08-07T22:46:57.161Z","modified":"2025-08-12T14:11:13.423Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:32:35.742256Z"}],"euvd":[{"id":"EUVD-2025-23965","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.","status":"published","published":"2025-08-07T22:46:57Z","modified":"2025-08-12T14:11:13Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:31:59.474585Z"}],"ghsa":[{"id":"GHSA-hj95-mhgf-jxc4","title":"ExecuTorch integer overflow vulnerability","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.","status":"published","published":"2025-08-08T00:30:26Z","modified":"2026-10-27T16:30:54Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:41:38.969831Z"}],"nvd":[{"id":"CVE-2025-30404","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.","status":"published","published":"2025-08-07T23:15:26.233Z","modified":"2026-06-17T09:08:39.84Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:11:22.319351Z"}],"osv":[{"id":"CVE-2025-30404","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.","status":"published","published":"2025-08-07T22:46:57.161Z","modified":"2026-10-28T10:59:00.25947745Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:47.708311Z"},{"id":"GHSA-hj95-mhgf-jxc4","title":"ExecuTorch integer overflow vulnerability","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.","status":"published","published":"2025-08-08T00:30:26Z","modified":"2026-10-27T16:45:04.544792243Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:46:49.28217Z"},{"id":"PYSEC-2026-335","title":"ExecuTorch integer overflow vulnerability","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.","status":"published","published":"2026-06-29T11:50:37.954523Z","modified":"2026-07-01T20:22:52.482904Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:56.847083Z"}]}}
