CVE-2025-54951
ExecuTorch vulnerable to Heap-based Buffer Overflow
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.pytorch:executorch-android | 0.7.0 |
| pip::GitHub Security Advisory pip | executorch | 0.7.0 |
| swift::GitHub Security Advisory Swift | github.com/pytorch/executorch | 0.7.0 |
References
- https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-336.yaml
- https://github.com/pytorch/executorch
- https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c
- https://nvd.nist.gov/vuln/detail/CVE-2025-54951
- https://pypi.org/project/executorch
- https://www.facebook.com/security/advisories/cve-2025-54951