Loading...
Skip to main content

CVE-2025-54951 — Vulnerability in executorch — CVE Details

CRITICAL

ExecuTorch vulnerable to Heap-based Buffer Overflow

Published August 8, 2025Updated June 29, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published August 8, 2025 (430 days ago).
  • Last revised June 29, 2026 — 325 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update executorch to 0.7.0 or later
pip install "executorch>=0.7.0"
Maven
Update org.pytorch:executorch-android to 0.7.0 or later
<!-- Update pom.xml dependency version to 0.7.0 for org.pytorch:executorch-android -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 2 ecosystems: maven (1), pypi (1).

PackageEcosystemAffectedFixed In
executorch
pypi
0.1.0, 0.1.2, 0.2.0, 0.2.1 (+4 more)0.7.0
org.pytorch:executorch-android
maven
0.5.0, 0.5.1, 0.6.0, 0.6.0-rc1 (+6 more)0.7.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-54951?
ExecuTorch vulnerable to Heap-based Buffer Overflow This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2025-54951?
CVE-2025-54951 affects executorch and org.pytorch:executorch-android. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-54951 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-xc7w-r669-48pf
PYSEC-2026-336

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies