CVE-2025-54952 ExecuTorch integer overflow vulnerability leads to code execution

Critical 9.8 Published Updated

Integer overflow in ExecuTorch model loading allows attackers to trigger code execution via crafted models.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-54952?

CVE-2025-54952 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 smaller-than-expected memory regions to be allocated, potentially resulting in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit 8f062d3f661e20bb19b24b767b9a9a46e8359f2b.

Weakness: CWE-680

Which versions are affected by CVE-2025-54952?

3 open source packages ship an affected version, including executorch.

PackageAffectedFixed in
executorch PyPIAll versions to 0.6.0None
executorch PyPIAll versions to 0.6.0None
executorch PyPIAll versions to 0.6.0None

How do I fix CVE-2025-54952?

No fix has been published for CVE-2025-54952 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-54952 being exploited?

There is no known exploitation of CVE-2025-54952 in the wild and no public exploit code.

Sources

Also known as GHSA-33r8-vrx9-rmcv, PYSEC-2026-1351.

Is CVE-2025-54952 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free