PyPA Advisory Database
PYSEC-2026-336
ExecuTorch vulnerable to Heap-based Buffer Overflow
Details
A group of related buffer overflow vulnerabilities in the loading of ExecuTorch models can cause the runtime to crash and potentially result in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit cea9b23aa8ff78aff92829a466da97461cc7930c.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | executorch | All versions before 0.7.0 (fixed in 0.7.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-54951
- https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c
- https://github.com/pytorch/executorch
- https://www.facebook.com/security/advisories/cve-2025-54951
- https://pypi.org/project/executorch
- https://github.com/advisories/GHSA-xc7w-r669-48pf