ExecuTorch vulnerable to Heap-based Buffer Overflow
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.pytorch:executorch-android | < 0.7.0 | 0.7.0 |
| Python (PyPI) | executorch | < 0.7.0 | 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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-122- Platform
- Java / Kotlin (Maven), Python (PyPI)
- Package
org.pytorch:executorch-android, executorch- Disclosed
- 08.08.2025
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-xc7w-r669-48pf - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-336 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: executorch
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 7
- First → latest
- 07.2025 08.2025
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 1
- Medium 1
Disclosures per year
- 2025: 7
- 2026: 0
-
ExecuTorch vulnerable to Heap-based Buffer Overflow this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.