CVE-2025-54951
CRITICAL 9.8CVSS 3.1ExecuTorch 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.
- Published
- 7 Aug 2025
- Last modified
- 27 Oct 2026
- Assigned by
- cve-assign@fb.com
- NVD status
- Deferred
- Weakness
- CWE-122
- Also known as
- GHSA-xc7w-r669-48pfPYSEC-2026-336
- Sources
- NVDJSONOSV GHSA-xc7w-r669-48pfJSONOSV PYSEC-2026-336JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | executorch | < 0.7.0 | 0.7.0 |
| OSV | Maven | org.pytorch:executorch-android | < 0.7.0 | 0.7.0 |
| OSV | SwiftURL | github.com/pytorch/executorch | < 0.7.0 | 0.7.0 |
References
- https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c · WEB
- https://www.facebook.com/security/advisories/cve-2025-54951 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54951 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-336.yaml · WEB
- https://github.com/pytorch/executorch · PACKAGE
- https://pypi.org/project/executorch · WEB, PACKAGE
- https://github.com/advisories/GHSA-xc7w-r669-48pf · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 Aug 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Aug 2025)