CVE-2025-30404
Published: 07 August 2025
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 at the 47.6th percentile by exploit likelihood (below the median); 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).
Threat & Defense at a Glance
Threat & Defense Details
Mitigating Controls (NIST 800-53 r5)AI
Mandates timely identification, reporting, and remediation of software flaws like the integer overflow in ExecuTorch model loading via patching to the fixing commit.
Implements memory protection mechanisms such as address space layout randomization and guard pages to mitigate exploitation from overlapping allocations caused by the integer overflow.
Requires validation of ExecuTorch model inputs to detect and reject specially crafted files that trigger the integer overflow vulnerability.
MITRE ATT&CK Enterprise TechniquesAI
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).
NVD 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.
Deeper analysisAI
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.
Details
- CWE(s)