{"id":"CVE-2025-30404","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":["GHSA-hj95-mhgf-jxc4","PYSEC-2026-335"],"modified":"2026-08-12T15:13:25.186242Z","published":"2025-08-07T22:46:57.161Z","database_specific":{"cna_assigner":"facebook","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30404.json","unresolved_ranges":[{"extracted_events":[{"fixed":"https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30404.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30404"},{"type":"ADVISORY","url":"https://www.facebook.com/security/advisories/cve-2025-30404"},{"type":"FIX","url":"https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pytorch/executorch","events":[{"introduced":"0"},{"fixed":"d158236b1dc84539c1b16843bc74054c9dcba006"}],"database_specific":{"source":"REFERENCES"}}],"versions":["ciflow/binaries/sdym","ciflow/binaries/all/sdym","v0.2.0-rc1","v0.1.0-rc1","stable-2023-09-19","stable-2023-09-12","stable-2023-08-29","stable-2023-08-15","stable-2023-08-01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-30404.json","vanir_signatures_modified":"2026-08-12T15:13:25Z","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006","target":{"file":"runtime/core/memory_allocator.h"},"deprecated":false,"digest":{"line_hashes":["17157236554881507646951740821587129388","196471099242176928574914861494962366675","14091341760880535579382417888201727228","181023300127319786967885688415431141447"],"threshold":0.9},"id":"CVE-2025-30404-0dd689b3"}]}}],"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"}]}