CVE-2026-138305

Espruino Storage jsflash.c jsfReadFile integer overflow

Published Nov 29, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A flaw in Espruino’s storage module exposes an integer overflow in the jsfReadFile function when the length argument is manipulated. The overflow can corrupt memory and, in worst‑case scenarios, cause a denial of service. The weakness corresponds to improper input validation, reflected in the CWE‑189 and CWE‑190 identifiers.

Affected Systems

The vulnerability affects the Espruino platform up to version 2v29. No other vendors or products are listed. The issuance impacts firmware running on Espruino devices that include the Storage Handler component.

Risk and Exploitability

The score of 4.8 on the CVSS scale places the issue in the low to moderate severity range. The EPSS score is currently unavailable, and the vulnerability is not in the CISA KEV catalog. The description indicates that the attack vector is local; thus an attacker would need physical or otherwise local access to the device to trigger the overflow.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the published patch identified by commit a596a89e45685ff7464d6f0f94f7509ef2fc8286.
  • Upgrade the Espruino firmware to the latest released version that includes the fix (any version newer than 2v29).
  • Restrict or disable the Storage Handler component for untrusted users or environments, ensuring that the jsfReadFile function is not exposed to untrusted data.

Generated by OpenCVE AI on November 29, 2026 at 20:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Espruino Storage jsflash.c jsfReadFile integer overflow
First Time appeared Espruino
Espruino espruino
Weaknesses CWE-189
CWE-190
CPEs cpe:2.3:o:espruino:espruino:*:*:*:*:*:*:*:*
Vendors & Products Espruino
Espruino espruino
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 30, 2026, 5:27 PM
Reserved
Nov 28, 2026, 7:17 PM
Status
Deferred
Published
Nov 29, 2026, 7:17 PM
Modified
Nov 30, 2026, 6:18 PM