CVE-2026-138304
Description
A security vulnerability has been detected in Espruino up to 2v29. Affected by this issue is the function matchhere of the file src/jswrap_regexp.c of the component RegExp Engine. The manipulation leads to out-of-bounds write. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. The identifier of the patch is 54983bbe8f3c3fed46e5416c9e60bf00bbc98137. It is recommended to apply a patch to fix 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/54983bbe8f3c3fed46e5416c9e60bf00bbc98137
- https://github.com/espruino/Espruino/issues/2775
- https://vuldb.com/cve/CVE-2026-138304
- https://vuldb.com/submit/1074812
- https://vuldb.com/vuln/445128
- https://vuldb.com/vuln/445128/cti
CWEs
CWE-119 CWE-787
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.