{"id":"CVE-2025-30405","details":"An integer overflow vulnerability in the loading of ExecuTorch models can cause objects to be placed outside their allocated memory area, potentially resulting in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit 0830af8207240df8d7f35b984cdf8bc35d74fa73.","aliases":["GHSA-84m3-f99p-cqx5","PYSEC-2026-332"],"modified":"2026-08-12T15:15:47.022005Z","published":"2025-08-07T22:55:40.262Z","database_specific":{"cna_assigner":"facebook","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30405.json","unresolved_ranges":[{"extracted_events":[{"fixed":"https://github.com/pytorch/executorch/commit/0830af8207240df8d7f35b984cdf8bc35d74fa73"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30405.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30405"},{"type":"ADVISORY","url":"https://www.facebook.com/security/advisories/cve-2025-30405"},{"type":"FIX","url":"https://github.com/pytorch/executorch/commit/0830af8207240df8d7f35b984cdf8bc35d74fa73"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pytorch/executorch","events":[{"introduced":"0"},{"fixed":"0830af8207240df8d7f35b984cdf8bc35d74fa73"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v0.7.0-rc1","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":{"vanir_signatures":[{"digest":{"line_hashes":["43113149917313183797270536411351230272","260604987371770468378039596307012225407","175341537413839744301726540849403477995","160737039856696411600590785574446045313","235661478730892227585825837231678517994","203807864591936936758987766364338814662","169067037340964055120012623818610612976","247445903000086979638059811451891249240"],"threshold":0.9},"id":"CVE-2025-30405-52eb3a62","signature_type":"Line","signature_version":"v1","source":"https://github.com/pytorch/executorch/commit/0830af8207240df8d7f35b984cdf8bc35d74fa73","target":{"file":"runtime/core/hierarchical_allocator.h"},"deprecated":false},{"signature_version":"v1","source":"https://github.com/pytorch/executorch/commit/0830af8207240df8d7f35b984cdf8bc35d74fa73","target":{"file":"runtime/core/hierarchical_allocator.h","function":"get_offset_address"},"deprecated":false,"digest":{"function_hash":"16771235842262454727330218004292680348","length":558},"id":"CVE-2025-30405-577140c6","signature_type":"Function"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-30405.json","vanir_signatures_modified":"2026-08-12T15:15:47Z"}}],"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"}]}