CVE-2025-30405 ExecuTorch integer overflow vulnerability
Integer overflow in ExecuTorch model loading allows attackers to execute arbitrary code via crafted models.
- 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-30405?
CVE-2025-30405 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 objects to be placed outside their allocated memory area, potentially resulting in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit 0830af8207240df8d7f35b984cdf8bc35d74fa73.
Weakness: CWE-190
Which versions are affected by CVE-2025-30405?
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-30405?
Upgrade executorch to 0.7.0 or later.
Is CVE-2025-30405 being exploited?
There is no known exploitation of CVE-2025-30405 in the wild and no public exploit code.
Sources
Also known as GHSA-84m3-f99p-cqx5, PYSEC-2026-332.