Integer overflow in Espruino Storage handler jsfReadFile
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Espruino up to 2v29 contains an integer overflow in the jsfReadFile function in src/jsflash.c, part of the Storage Handler component (CWE-190). Manipulating the length argument causes the overflow. A local attacker with low privileges can trigger it, and a public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for Espruino. The sources advise applying the patch a596a89.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Timeline
- 2026-11-29 Threatist record created from CVE-2026-138305
- 2026-11-29 Alias added: GHSA-mmxg-xc24-wfff
- 2026-11-30 CISA SSVC decision points changed
References
Sources
- CVE-2026-138305 · CVE Program
- CVE-2026-138305 · NVD
- FIRST EPSS
- GHSA-mmxg-xc24-wfff · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences