Vulnerability · Published Aug 7, 2025 · Assigned by facebook

CVE-2025-54951

Critical 9.8

In plain English

A critical-severity heap buffer overflow in ExecuTorch from Meta Platforms, Inc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.7%top 46.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.pytorch:executorch-android0.7.0GHSA-xc7w-r669-48pf
PyPIexecutorch0.7.0PYSEC-2026-336
PyPIexecutorch0.7.0GHSA-xc7w-r669-48pf

Affected products (as reported)

VendorProductVersions
Meta Platforms, Inc ExecuTorch 0 – before https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References