PyPA Advisory Database
PYSEC-2026-1351
ExecuTorch integer overflow vulnerability leads to code execution
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | executorch | All versions up to and including 0.6.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-54952
- https://github.com/pytorch/executorch/commit/8f062d3f661e20bb19b24b767b9a9a46e8359f2b
- https://github.com/pytorch/executorch
- https://www.facebook.com/security/advisories/cve-2025-54952
- https://pypi.org/project/executorch
- https://github.com/advisories/GHSA-33r8-vrx9-rmcv