---
title: "CVE-2025-54951: ExecuTorch vulnerable to Heap-based Buffer Overflow"
url: https://erroneo.us/security/cve/CVE-2025-54951/
description: "CVE-2025-54951 (executorch (PyPI)): A group of related buffer overflow vulnerabilities in the loading of ExecuTorch models can cause the runtime to crash…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-08-07
date_modified: 2026-08-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-54951"
kev: false
cvss: 9.8
epss: 0.00693
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.7% , percentile 52: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 52% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes executorch (PyPI) < 0.7.0, fixed in 0.7.0 ; org.pytorch:executorch-android (Maven) < 0.7.0, fixed in 0.7.0 ; github.com/pytorch/executorch (Swift) < 0.7.0, fixed in 0.7.0 . Check your lockfile, including transitive dependencies.

## What it is

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

- PyPI `executorch` < 0.7.0 → fixed: 0.7.0
- Maven `org.pytorch:executorch-android` < 0.7.0 → fixed: 0.7.0
- Swift `github.com/pytorch/executorch` < 0.7.0 → fixed: 0.7.0

## Affected products (CVE record)

- Meta Platforms, Inc ExecuTorch: < https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c

## Severity

- CISA-ADP CVSS 3.1: 9.8 `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 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.69% probability of exploitation activity in the next 30 days; percentile 52.

## Sources

- [GitHub Advisory GHSA-xc7w-r669-48pf](https://github.com/advisories/GHSA-xc7w-r669-48pf)
- [CVE.org record CVE-2025-54951](https://www.cve.org/CVERecord?id=CVE-2025-54951)
- [NVD entry CVE-2025-54951](https://nvd.nist.gov/vuln/detail/CVE-2025-54951)
- [facebook.com](https://www.facebook.com/security/advisories/cve-2025-54951)
- [github.com](https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c)

---
Source page: https://erroneo.us/security/cve/CVE-2025-54951/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
