{"id":"GHSA-hj95-mhgf-jxc4","summary":"ExecuTorch integer overflow vulnerability","details":"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.","aliases":["CVE-2025-30404","PYSEC-2026-335"],"modified":"2026-06-29T12:26:45.230460529Z","published":"2025-08-08T00:30:26Z","database_specific":{"nvd_published_at":"2025-08-07T23:15:26Z","cwe_ids":["CWE-190"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2025-08-12T18:48:09Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30404"},{"type":"WEB","url":"https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006"},{"type":"PACKAGE","url":"https://github.com/pytorch/executorch"},{"type":"WEB","url":"https://www.facebook.com/security/advisories/cve-2025-30404"}],"affected":[{"package":{"name":"executorch","ecosystem":"PyPI","purl":"pkg:pypi/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-hj95-mhgf-jxc4/GHSA-hj95-mhgf-jxc4.json"}},{"package":{"name":"org.pytorch:executorch-android","ecosystem":"Maven","purl":"pkg:maven/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-hj95-mhgf-jxc4/GHSA-hj95-mhgf-jxc4.json"}},{"package":{"name":"github.com/pytorch/executorch","ecosystem":"SwiftURL","purl":"pkg:swift/github.com/pytorch/executorch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-hj95-mhgf-jxc4/GHSA-hj95-mhgf-jxc4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}