CVE-2025-30404: ExecuTorch Integer Overflow Vulnerability Leading to Potential Code Execution

executorch Updated 02 Oct 2025

Summary

08/08/2025
Yes i
Critical
9.8

CVE-2025-30404: ExecuTorch integer overflow vulnerability. Affects executorch versions < 0.7.0. Fixed in 0.7.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

ExecuTorch is a Python library designed for executing and managing deep learning models efficiently. It provides a user-friendly interface for loading, running, and optimizing models, making it a popular choice among developers in the machine learning community. However, a critical integer overflow vulnerability has been identified in the model loading process, which can lead to severe security risks.

Vulnerability Detail

An integer overflow vulnerability exists in the loading of ExecuTorch models, which can cause overlapping memory allocations. This flaw can potentially lead to code execution or other undesirable effects, compromising the integrity and security of applications utilizing the library. The issue affects versions prior to commit d158236b1dc84539c1b16843bc74054c9dcba006, making it crucial for users to address this vulnerability promptly.

How To Fix

Minimum fixed version

0.7.0

This is the first release that contains the fix.

pip install --upgrade "executorch==0.7.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can avoid loading models that may trigger the overflow vulnerability. However, this is not a permanent solution, and updating the package is strongly recommended.

Conclusion

The ExecuTorch integer overflow vulnerability (CVE-2025-30404) poses a significant risk to applications using the library. Users are urged to update to version 0.7.0 or later to mitigate potential security threats. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for executorch →

Share this vulnerability

FAQ

The vulnerability has a CVSS score of 9.8, indicating a critical level of severity.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.

Exploiting this vulnerability could lead to code execution, allowing attackers to manipulate or control the affected system.

Yes, a patch is available in version 0.7.0 of ExecuTorch. It is recommended to update to this version to mitigate the risk.

If an immediate update is not possible, refrain from loading models that could exploit this vulnerability until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for executorch.

How To Fix

Minimum fixed version

0.7.0

This is the first release that contains the fix.

pip install --upgrade "executorch==0.7.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback