Cyber Resilience

CVE-2025-30404

Critical

Published: 07 August 2025

Published
07 August 2025
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0075 73.6th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-30404 is a critical-severity Integer Overflow or Wraparound (CWE-190) vulnerability in Facebook (inferred from references). Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 26.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-2 (Flaw Remediation) and SI-10 (Information Input Validation).

Deeper analysis

CVE-2025-30404 is an integer overflow vulnerability (CWE-190) in the loading of ExecuTorch models, which can cause overlapping allocations and potentially result in code execution or other undesirable effects. The vulnerability affects ExecuTorch prior to commit d158236b1dc84539c1b16843bc74054c9dcba006 and carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), marking it as critical.

The vulnerability can be exploited remotely by any unauthenticated attacker with low complexity and no user interaction required. By providing a specially crafted ExecuTorch model for loading, an attacker could trigger the integer overflow, leading to overlapping memory allocations that enable arbitrary code execution, data corruption, or denial of service with high impacts on confidentiality, integrity, and availability.

Mitigation is provided through the fixing commit d158236b1dc84539c1b16843bc74054c9dcba006 in the PyTorch ExecuTorch GitHub repository. Security practitioners should update to this commit or later versions. Further details are available in the Facebook security advisory at https://www.facebook.com/security/advisories/cve-2025-30404.

EU & UK References

Vulnerability details

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

Integer overflow during ExecuTorch model parsing/loading enables remote unauthenticated code execution via crafted model input (AV:N/PR:N/UI:N).

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2025-53518Shared CWE-190
CVE-2024-55656Shared CWE-190
CVE-2026-44673Shared CWE-190
CVE-2024-11347Shared CWE-190
CVE-2026-31649Shared CWE-190
CVE-2025-14308Shared CWE-190
CVE-2026-41416Shared CWE-190
CVE-2026-24830Shared CWE-190
CVE-2026-5121Shared CWE-190
CVE-2026-25208Shared CWE-190

Affected Assets

Facebook
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Mandates timely identification, reporting, and remediation of software flaws like the integer overflow in ExecuTorch model loading via patching to the fixing commit.

prevent

Implements memory protection mechanisms such as address space layout randomization and guard pages to mitigate exploitation from overlapping allocations caused by the integer overflow.

prevent

Requires validation of ExecuTorch model inputs to detect and reject specially crafted files that trigger the integer overflow vulnerability.

References