Read the docs

Integer overflow in Espruino Storage handler jsfReadFile

Priority MEDIUM 55CWE-189Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Espruino up to 2v29 contains an integer overflow in the jsfReadFile function in src/jsflash.c, part of the Storage Handler component (CWE-190). Manipulating the length argument causes the overflow. A local attacker with low privileges can trigger it, and a public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00143 1st percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Espruino2v29—No fix listedCNA
  • Espruino Vendor— Affected 2v29 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:o:espruino:espruino:*:*:*:*:*:*:*:*——Espruino
  • cpe:2.3:o:espruino:espruino:*:*:*:*:*:*:*:* Versions — — ·Espruino

Remediation

The sources list no fixed version for Espruino. The sources advise applying the patch a596a89.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-138305
  2. 2026-11-29 Alias added: GHSA-mmxg-xc24-wfff
  3. 2026-11-30 CISA SSVC decision points changed

References

Sources