ExecuTorch out-of-bounds access vulnerability
CVE-2025-54950 · GHSA-f9hx-c6jf-3qxm · PYSEC-2026-334 · published 8 Aug 2025
How serious is it
- Severity: critical, CVSS score 9.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2025-54950?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
executorch(PyPI) < 0.7.0org.pytorch:executorch-android(Maven) < 0.7.0github.com/pytorch/executorch(Swift) < 0.7.0
How to check
- Run
pip show executorchin your project to see the installed version, including copies pulled in by other packages. - Look for
org.pytorch:executorch-androidin your lockfile and compare its version with the range above. - Look for
github.com/pytorch/executorchin your lockfile and compare its version with the range above. - Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
- Or run
npx shippable-dev scan localhost:3000in your project folder. It reads your lockfile and flags this vulnerability along with every other known one.
How to fix
Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
- On < 0.7.0: Upgrade
executorchto 0.7.0 or later, commit the lockfile and redeploy. - On < 0.7.0: Upgrade
org.pytorch:executorch-androidto 0.7.0 or later, commit the lockfile and redeploy. - On < 0.7.0: Upgrade
github.com/pytorch/executorchto 0.7.0 or later, commit the lockfile and redeploy. - If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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 fb03b6f85596a8f954d97929075335255b6a58d4.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- nvd.nist.gov/vuln/detail/CVE-2025-54950
- github.com/pytorch/executorch/commit/fb03b6f85596a8f954d97929075335255b6a58d4
- www.facebook.com/security/advisories/cve-2025-54950
- github.com/pytorch/executorch/commit/b6b7a16df5e7852d976d8c34c8a7e9a1b6f7d005
- github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-334.yaml
- pypi.org/project/executorch
- github.com/advisories/GHSA-f9hx-c6jf-3qxm
- github.com/pytorch/executorch
Merged from GitHub Advisory Database, OSV. Last updated 28 Oct 2026. All vulnerabilities · RSS · JSON