Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › Espruino

Medium 5.5 2 CVEs Analysis

Espruino Flaws Batch: Out-of-Bounds Write Rated Medium, Integer Overflow Rated Low

Two vulnerabilities in Espruino up to version 2v29 were published by NVD on 2026-11-29. The more severe one, CVE-2026-138304 (MEDIUM, CVSS 5.5), is an out-of-bounds write that can reportedly be triggered remotely; CVE-2026-138305 (LOW, CVSS 1.9) is an integer overflow that requires local access.

What to look into

  • 2 vulnerabilities in Espruino: 1 medium, 1 low (CVSS up to 5.5).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-138304 (5.5 medium): 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 lea… An attacker without an account can exploit this over the network, without any user action.
  • 1 of 2 can be attacked over the network without logging in, 1 of them without anyone clicking anything.
  • Kinds of flaws: Improper Restriction of Operations within the Bounds of a Memory Buffer; Out-of-bounds Write; Numeric Errors; Integer Overflow or Wraparound.
Vulnerabilities

Key points

  • CVE-2026-138304 (MEDIUM, CVSS 5.5) is an out-of-bounds write in the RegExp Engine, reportedly remotely exploitable.
  • CVE-2026-138305 (LOW, CVSS 1.9) is an integer overflow in the Storage Handler, requiring local access.
  • Both records say a public exploit has been disclosed and may be used.
  • Affected versions are stated as up to 2v29; no fixed version number is given.

Overview

NVD published two vulnerabilities affecting Espruino, a JavaScript interpreter for microcontrollers, in versions up to and including 2v29. Both records describe memory-handling flaws in different components, and both state that a public exploit has been disclosed and may be used. The records do not describe any attacks observed in the wild.

Memory-safety flaws

The more serious issue is CVE-2026-138304, rated MEDIUM with a CVSS score of 5.5. It affects the function matchhere in src/jswrapregexp.c, part of the RegExp Engine component. According to the record, manipulation of the input leads to an out-of-bounds write, and the attack can be carried out remotely. The record does not describe the exact input or the conditions required to trigger it.

CVE-2026-138305 is rated LOW, with a CVSS score of 1.9. It affects the function jsfReadFile in src/jsflash.c, in the Storage Handler component. Here the length argument is manipulated, resulting in an integer overflow. The record says the attack must be approached locally.

Who is affected and what to do

The records identify the affected range as up to 2v29. They do not state a fixed release number. Instead, each record names a patch identifier: 54983bbe8f3c3fed46e5416c9e60bf00bbc98137 for CVE-2026-138304, and a596a89e45685ff7464d6f0f94f7509ef2fc8286 for CVE-2026-138305. Administrators running Espruino should check whether their build predates these patches and apply the upstream fixes. The sources do not provide workarounds or detection guidance.

What to do

  1. Identify Espruino builds at or below 2v29 and check whether they include the patches named in the records.
  2. Apply the upstream patch 54983bbe8f3c3fed46e5416c9e60bf00bbc98137 to address CVE-2026-138304.
  3. Apply the upstream patch a596a89e45685ff7464d6f0f94f7509ef2fc8286 to address CVE-2026-138305.

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-138304 5.5 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…
  • CVE-2026-138305 1.9 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…

Frequently asked questions

How many Espruino vulnerabilities were published on November 29, 2026?

2 vulnerabilities: 1 medium, 1 low, with CVSS scores up to 5.5.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-138304 (CVSS 5.5): 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 lea…

Original records