Home › CVE › Vulnerabilities
CVE-2026-138305 — Espruino
One of 2 Espruino vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
A vulnerability was detected in Espruino up to 2v29. This affects the function jsfReadFile of the file src/jsflash.c of the component Storage Handler. The manipulation of the argument length results in integer overflow. The attack needs to be approached locally. The exploit is now public and may be used. The patch is identified as a596a89e45685ff7464d6f0f94f7509ef2fc8286. Applying a patch is advised to resolve this issue.
Severity breakdown
Low · 1.9
An attacker with a normal user account can exploit this with local access, without any user action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- low on confidentiality, none on integrity and availability
- Impact on other systems
- none
- Exploit maturity
- a proof-of-concept exploit is public
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Espruino | 2v29 | — |
References by type
Patches and fixed releases
Other references
Affected
- Espruino
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-138305?
A vulnerability was detected in Espruino up to 2v29. This affects the function jsfReadFile of the file src/jsflash.c of the component Storage Handler. The manipulation of the argument length results in integer overflow. The attack needs to be approached locally. The exploit is now public and may be used. The patch is identified as a596a89e45685ff7464d6f0f94f7509ef2fc8286. Weakness type: Numeric Errors (CWE-189).
How severe is CVE-2026-138305?
CVE-2026-138305 has a CVSS 4.0 base score of 1.9 (low), from the CNA (vuldb.com). An attacker with a normal user account can exploit this with local access, without any user action.
Is CVE-2026-138305 being exploited?
Not as far as is known: CVE-2026-138305 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2026-138305?
Espruino 2v29.
How do I fix CVE-2026-138305?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.