# CVE-2025-30404: ExecuTorch integer overflow vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-08-07T22:46:57.161Z
- Modified: 2026-10-27T16:45:04.544Z
- Also known as: GHSA-hj95-mhgf-jxc4, PYSEC-2026-335
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: facebook

## 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.

(As written by CVE List.)

## Affected

- Meta Platforms, Inc ExecuTorch: before https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006
- executorch (PyPI): before 0.7.0
- org.pytorch:executorch-android (Maven): before 0.7.0
- github.com/pytorch/executorch (SwiftURL): before 0.7.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.facebook.com/security/advisories/cve-2025-30404> (web)
- <https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30404> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-335.yaml> (web)
- <https://github.com/pytorch/executorch> (package)
- <https://pypi.org/project/executorch> (package, web)
- <https://github.com/advisories/GHSA-hj95-mhgf-jxc4> (advisory)

## Sources

- CVE List: [CVE-2025-30404](https://www.cve.org/CVERecord?id=CVE-2025-30404), CVE Terms of Use, modified 2025-08-12
- GitHub Advisory Database: [GHSA-hj95-mhgf-jxc4](https://github.com/advisories/GHSA-hj95-mhgf-jxc4), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2025-30404](https://nvd.nist.gov/vuln/detail/CVE-2025-30404), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-335](https://osv.dev/vulnerability/PYSEC-2026-335), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-30404 · Whole record: https://cve.day/CVE-2025-30404.json · Rebuilt by cve.day 2026-11-25T22:59:02.196Z
