CVE-2025-54950 ExecuTorch out-of-bounds access vulnerability

Critical 9.8 Published Updated

Out-of-bounds access in ExecuTorch model loading allows attackers to cause crashes or potentially execute arbitrary code.

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

What is CVE-2025-54950?

CVE-2025-54950 is a critical memory corruption 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 out-of-bounds access vulnerability in the loading of ExecuTorch models can cause the runtime to crash and potentially result in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit b6b7a16df5e7852d976d8c34c8a7e9a1b6f7d005.

Weakness: CWE-125

Which versions are affected by CVE-2025-54950?

7 open source packages ship an affected version, including executorch, org.pytorch:executorch-android and github.com/pytorch/executorch.

PackageAffectedFixed in
executorch PyPIAll versions0.7.0
executorch PyPIAll versions0.7.0
executorch PyPIAll versions0.7.0
org.pytorch:executorch-android MavenAll versions0.7.0
org.pytorch:executorch-android MavenAll versions0.7.0
github.com/pytorch/executorch SwiftURLAll versions0.7.0
1 more packages
github.com/pytorch/executorch SwiftURLAll versions0.7.0

How do I fix CVE-2025-54950?

Upgrade executorch to 0.7.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-54950 being exploited?

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

Sources

Also known as GHSA-f9hx-c6jf-3qxm, PYSEC-2026-334.

Is CVE-2025-54950 in your software?

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

Check your SBOMs for free