CVE-2025-30405
Published: 07 August 2025
Summary
CVE-2025-30405 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 Exploitation for Client Execution (T1203); 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-16 (Memory Protection) and SI-2 (Flaw Remediation).
Threat & Defense at a Glance
Threat & Defense Details
Mitigating Controls (NIST 800-53 r5)AI
Directly requires timely remediation of the integer overflow flaw in ExecuTorch by updating to the fixed commit, preventing exploitation via malicious models.
Implements memory protections like address space layout randomization and data execution prevention to block code execution from out-of-bounds memory writes caused by the integer overflow.
Enforces validation of ExecuTorch model inputs to detect and reject malformed data that could trigger the integer overflow during loading.
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Integer overflow during ExecuTorch model loading directly enables remote arbitrary code execution via a malicious model file (client-side exploitation).
NVD 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.
Deeper analysisAI
CVE-2025-30405 is an integer overflow vulnerability (CWE-190) in the loading process of ExecuTorch models. This issue can cause objects to be placed outside their allocated memory areas, potentially resulting in code execution or other undesirable effects. The vulnerability affects ExecuTorch prior to commit 0830af8207240df8d7f35b984cdf8bc35d74fa73.
With 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), the flaw is exploitable remotely by unauthenticated attackers with low complexity and no user interaction required. Exploitation involves providing a malicious ExecuTorch model, which could lead to arbitrary code execution and high impacts on confidentiality, integrity, and availability.
Mitigation is addressed by updating to ExecuTorch commit 0830af8207240df8d7f35b984cdf8bc35d74fa73 or later, as provided in the GitHub patch commit. Further details are available in the Meta security advisory.
ExecuTorch, part of the PyTorch ecosystem, enables runtime execution of machine learning models on edge devices, highlighting the vulnerability's relevance to AI/ML deployments in resource-constrained environments.
Details
- CWE(s)