CVE-2025-30404 ExecuTorch integer overflow vulnerability
Integer overflow in ExecuTorch model loading allows overlapping allocations, potentially enabling code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-30404?
CVE-2025-30404 is a critical vulnerability in Meta Platforms, Inc ExecuTorch, published on 7 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An integer overflow vulnerability in the loading of ExecuTorch models can cause overlapping allocations, potentially resulting in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit d158236b1dc84539c1b16843bc74054c9dcba006.
Weakness: CWE-190
Which versions are affected by CVE-2025-30404?
7 open source packages ship an affected version, including executorch, org.pytorch:executorch-android and github.com/pytorch/executorch.
| Package | Affected | Fixed in |
|---|---|---|
executorch PyPI | All versions | 0.7.0 |
executorch PyPI | All versions | 0.7.0 |
executorch PyPI | All versions | 0.7.0 |
org.pytorch:executorch-android Maven | All versions | 0.7.0 |
org.pytorch:executorch-android Maven | All versions | 0.7.0 |
github.com/pytorch/executorch SwiftURL | All versions | 0.7.0 |
1 more packages
github.com/pytorch/executorch SwiftURL | All versions | 0.7.0 |
How do I fix CVE-2025-30404?
Upgrade executorch to 0.7.0 or later.
Is CVE-2025-30404 being exploited?
There is no known exploitation of CVE-2025-30404 in the wild and no public exploit code.
Sources
Also known as GHSA-hj95-mhgf-jxc4, PYSEC-2026-335.