{"id":"CVE-2025-54952","details":"An integer overflow vulnerability in the loading of ExecuTorch models can cause smaller-than-expected memory regions to be allocated, potentially resulting in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit 8f062d3f661e20bb19b24b767b9a9a46e8359f2b.","aliases":["GHSA-33r8-vrx9-rmcv","PYSEC-2026-1351"],"modified":"2026-08-12T10:47:23.502287Z","published":"2025-08-07T23:08:39.186Z","database_specific":{"cna_assigner":"facebook","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54952.json","unresolved_ranges":[{"extracted_events":[{"fixed":"https://github.com/pytorch/executorch/commit/8f062d3f661e20bb19b24b767b9a9a46e8359f2b"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54952.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54952"},{"type":"ADVISORY","url":"https://www.facebook.com/security/advisories/cve-2025-54952"},{"type":"FIX","url":"https://github.com/pytorch/executorch/commit/8f062d3f661e20bb19b24b767b9a9a46e8359f2b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pytorch/executorch","events":[{"introduced":"0"},{"fixed":"8f062d3f661e20bb19b24b767b9a9a46e8359f2b"}],"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-54952.json","vanir_signatures_modified":"2026-08-12T10:47:23Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["32230930426288135781751580657657381743","27816795093322237428348240608559980770","166200815449907023341764011611882552768","31150020504940064754111791546867125044","177987325295771229544198077922036655720","331750139255521733435766596191056857196","121091089390543637236130583055923662272"],"threshold":0.9},"id":"CVE-2025-54952-029ca469","signature_type":"Line","signature_version":"v1","source":"https://github.com/pytorch/executorch/commit/8f062d3f661e20bb19b24b767b9a9a46e8359f2b","target":{"file":"runtime/core/memory_allocator.h"}}]}}],"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"}]}