CRITICAL9.8
PYSEC-2026-336
ExecuTorch vulnerable to Heap-based Buffer Overflow
Quick fix
PYSEC-2026-336 — executorch: upgrade to the fixed version with the command below.
pip install --upgrade 'executorch>=0.7.0'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-54951[ADVISORY]
- https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c[WEB]
- https://github.com/pytorch/executorch[PACKAGE]
- https://www.facebook.com/security/advisories/cve-2025-54951[WEB]
- https://pypi.org/project/executorch[PACKAGE]
- https://github.com/advisories/GHSA-xc7w-r669-48pf[ADVISORY]