# CVE-2025-54951: ExecuTorch vulnerable to Heap-based Buffer Overflow

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2025-08-07T23:06:02.059Z
- Modified: 2026-10-27T16:45:04.559Z
- Also known as: GHSA-xc7w-r669-48pf, PYSEC-2026-336
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: facebook

## 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.

(As written by CVE List.)

## Affected

- Meta Platforms, Inc ExecuTorch: before https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c
- executorch (PyPI): before 0.7.0
- org.pytorch:executorch-android (Maven): before 0.7.0
- github.com/pytorch/executorch (SwiftURL): before 0.7.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.facebook.com/security/advisories/cve-2025-54951> (web)
- <https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c> (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> (package, web)
- <https://github.com/advisories/GHSA-xc7w-r669-48pf> (advisory)

## Sources

- CVE List: [CVE-2025-54951](https://www.cve.org/CVERecord?id=CVE-2025-54951), CVE Terms of Use, modified 2025-08-12
- GitHub Advisory Database: [GHSA-xc7w-r669-48pf](https://github.com/advisories/GHSA-xc7w-r669-48pf), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2025-54951](https://nvd.nist.gov/vuln/detail/CVE-2025-54951), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-336](https://osv.dev/vulnerability/PYSEC-2026-336), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-54951 · Whole record: https://cve.day/CVE-2025-54951.json · Rebuilt by cve.day 2026-11-25T22:59:02.197Z
