Home › CVE › Vulnerabilities
CVE-2026-138304 — Espruino
One of 2 Espruino vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- low on availability, none on confidentiality and integrity
- Impact on other systems
- none
- Exploit maturity
- a proof-of-concept exploit is public
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-787: Out-of-bounds Write
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-138304?
A security vulnerability has been detected in Espruino up to 2v29. Affected by this issue is the function matchhere of the file src/jswrapregexp.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. Weakness type: Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119).
How severe is CVE-2026-138304?
CVE-2026-138304 has a CVSS 4.0 base score of 5.5 (medium), from the CNA (vuldb.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-138304 being exploited?
Not as far as is known: CVE-2026-138304 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2026-138304?
Espruino 2v29.
How do I fix CVE-2026-138304?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.