Critical

ExecuTorch vulnerable to Heap-based Buffer Overflow

  • Disclosed: 08.08.2025
  • Updated: 11.10.2026 12:20

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.pytorch:executorch-android < 0.7.0 0.7.0
Python (PyPI) executorch < 0.7.0 0.7.0

References

CVSS score 9.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-122
Platform
Java / Kotlin (Maven), Python (PyPI)
Package
org.pytorch:executorch-android, executorch
Disclosed
08.08.2025
Updated
11.10.2026 12:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-xc7w-r669-48pf - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2026-336 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: org.pytorch:executorch-android

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
07.2025 08.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 5
  • High 1

Disclosures per year

  1. 2025: 6
  2. 2026: 0
  1. Critical · 9.8 CVE-2025-30405 < 0.7.0 0.7.0
  2. Critical · 9.8 CVE-2025-54950 < 0.7.0 0.7.0
  3. Critical · 9.8 CVE-2025-30404 < 0.7.0 0.7.0
  4. Critical · 9.8 CVE-2025-54949 < 0.7.0 0.7.0
  5. ExecuTorch vulnerable to Heap-based Buffer Overflow this entry
    Critical · 9.8 CVE-2025-54951 < 0.7.0 0.7.0
  6. High · 8.1 CVE-2025-30402 < 0.7.0-rc1 0.7.0-rc1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.