Out-of-bounds write in Espruino RegExp engine matchhere function
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Espruino up to 2v29 contains an out-of-bounds write (CWE-787) in the matchhere function of src/jswrap_regexp.c in its RegExp engine. A remote attacker without privileges or user interaction can trigger the memory corruption by manipulating input processed by the engine, which affects availability. A public exploit has been disclosed.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- 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 source recommends applying the patch with identifier 54983bb.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Timeline
- 2026-11-29 Threatist record created from CVE-2026-138304
- 2026-11-29 Alias added: GHSA-3v5p-qm8q-p6f9
- 2026-11-30 CISA SSVC decision points changed
References
Sources
- CVE-2026-138304 · CVE Program
- CVE-2026-138304 · NVD
- FIRST EPSS
- GHSA-3v5p-qm8q-p6f9 · 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