CVE-2025-54949 — Vulnerability in executorch — CVE Details
ExecuTorch heap buffer overflow vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.13%). Schedule for your next planned update.
Does your project use an affected executorch version?
Paste your requirements.txt to check it for CVE-2025-54949 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
A heap buffer overflow vulnerability in the loading of ExecuTorch models can potentially result in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit ede82493dae6d2d43f8c424e7be4721abe5242be
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-122
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-54949ADVISORY
- https://github.com/pytorch/executorch/commit/ede82493dae6d2d43f8c424e7be4721abe5242beWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-333.yamlWEB
- https://github.com/pytorch/executorchPACKAGE
- https://pypi.org/project/executorchWEB
- https://www.facebook.com/security/advisories/cve-2025-54949WEB
Frequently Asked Questions
- What is CVE-2025-54949?
- ExecuTorch heap buffer overflow 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-54949?
- CVE-2025-54949 affects executorch and org.pytorch:executorch-android. It has a 1.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-54949 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 — 66.1% 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-54950CRITICAL
ExecuTorch out-of-bounds access 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-54950CRITICAL
ExecuTorch out-of-bounds access vulnerability
- CVE-2025-30404CRITICAL
ExecuTorch integer overflow vulnerability
- CVE-2025-54951CRITICAL
ExecuTorch vulnerable to Heap-based Buffer Overflow