CVE-2026-138305
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/espruino/Espruino/
- https://github.com/espruino/Espruino/commit/a596a89e45685ff7464d6f0f94f7509ef2fc8286
- https://github.com/espruino/Espruino/issues/2776
- https://vuldb.com/cve/CVE-2026-138305
- https://vuldb.com/submit/1074814
- https://vuldb.com/vuln/445129
- https://vuldb.com/vuln/445129/cti
CWEs
CWE-189 CWE-190
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.