—
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/executorch
Introduced in:
0No fixed version published yet for executorch (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-54952[ADVISORY]
- https://github.com/pytorch/executorch/commit/8f062d3f661e20bb19b24b767b9a9a46e8359f2b[WEB]
- https://github.com/pytorch/executorch[PACKAGE]
- https://www.facebook.com/security/advisories/cve-2025-54952[WEB]
- https://pypi.org/project/executorch[PACKAGE]
- https://github.com/advisories/GHSA-33r8-vrx9-rmcv[ADVISORY]