CVE-2025-54950 — Vulnerability in executorch — CVE Details
ExecuTorch out-of-bounds access vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.03%). Schedule for your next planned update.
Does your project use an affected executorch version?
Paste your requirements.txt to check it for CVE-2025-54950 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published August 8, 2025 (475 days ago).
- Last revised October 27, 2026 — 446 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "executorch>=0.7.0"
<!-- Update pom.xml dependency version to 0.7.0 for org.pytorch:executorch-android -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 2 ecosystems: Maven (1), PyPI (1).
| Package | Fixed In |
|---|---|
| executorch PyPI · Affected: 0.1.0, 0.1.2, 0.2.0, 0.2.1 (+4 more) | 0.7.0 |
| org.pytorch:executorch-android Maven · Affected: 0.5.0, 0.5.1, 0.6.0, 0.6.0-rc1 (+6 more) | 0.7.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-125Out-of-bounds ReadMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-54950ADVISORY
- https://github.com/pytorch/executorch/commit/b6b7a16df5e7852d976d8c34c8a7e9a1b6f7d005WEB
- https://github.com/pytorch/executorch/commit/fb03b6f85596a8f954d97929075335255b6a58d4WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-334.yamlWEB
- https://github.com/pytorch/executorchPACKAGE
- https://pypi.org/project/executorchWEB
- https://www.facebook.com/security/advisories/cve-2025-54950WEB
Frequently Asked Questions
- What is CVE-2025-54950?
- ExecuTorch out-of-bounds access vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-54950?
- CVE-2025-54950 affects executorch and org.pytorch:executorch-android. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-54950 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 62.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-30405CRITICAL
ExecuTorch integer overflow vulnerability
- CVE-2025-54949CRITICAL
ExecuTorch heap buffer overflow vulnerability
- CVE-2025-30404CRITICAL
ExecuTorch integer overflow vulnerability
- CVE-2025-54951CRITICAL
ExecuTorch vulnerable to Heap-based Buffer Overflow
- CVE-2025-30405CRITICAL
ExecuTorch integer overflow vulnerability
- CVE-2025-54949CRITICAL
ExecuTorch heap buffer overflow vulnerability
- CVE-2025-30404CRITICAL
ExecuTorch integer overflow vulnerability
- CVE-2025-54951CRITICAL
ExecuTorch vulnerable to Heap-based Buffer Overflow