{"id":"GHSA-hj95-mhgf-jxc4","aliases":["CVE-2025-30404","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.","severity":"critical","score":9.8,"published":"2025-08-08T00:30:26.000Z","modified":"2026-10-27T16:45:04.544Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"PyPI","name":"executorch","ranges":[{"events":[{"introduced":"0"},{"fixed":"0.7.0"}],"type":"ECOSYSTEM"}],"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"],"fixed":["0.7.0"]},{"ecosystem":"Maven","name":"org.pytorch:executorch-android","ranges":[{"events":[{"introduced":"0"},{"fixed":"0.7.0"}],"type":"ECOSYSTEM"}],"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"],"fixed":["0.7.0"]},{"ecosystem":"SwiftURL","name":"github.com/pytorch/executorch","ranges":[{"events":[{"introduced":"0"},{"fixed":"0.7.0"}],"type":"SEMVER"}],"versions":[],"fixed":["0.7.0"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-30404","https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006","https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-335.yaml","https://github.com/pytorch/executorch","https://pypi.org/project/executorch","https://www.facebook.com/security/advisories/cve-2025-30404"],"sources":[{"name":"OSV","id":"GHSA-hj95-mhgf-jxc4","modified":"2026-10-27T16:45:04.544792243Z","url":"https://osv.dev/vulnerability/GHSA-hj95-mhgf-jxc4"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}]}