Espruino up to 2v29 Storage src/jsflash.c jsfReadFile length integer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.0$0-$5k0.00+

Summaryinfo

A vulnerability classified as problematic has been found in Espruino up to 2v29. This vulnerability affects the function jsfReadFile of the file src/jsflash.c of the component Storage Handler. This manipulation of the argument length causes integer overflow. The identification of this vulnerability is CVE-2026-138305. The attack can only be executed locally. Furthermore, there is an exploit available. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability was found in Espruino up to 2v29. It has been declared as problematic. Affected by this vulnerability is the function jsfReadFile of the file src/jsflash.c of the component Storage Handler. The manipulation of the argument length with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. As an impact it is known to affect confidentiality.

The advisory is shared at github.com. This vulnerability is known as CVE-2026-138305. The exploitation appears to be easy. An attack has to be approached locally. Technical details and also a public exploit are known.

It is possible to download the exploit at github.com. It is declared as proof-of-concept.

Applying the patch a596a89e45685ff7464d6f0f94f7509ef2fc8286 is able to eliminate this problem. The bugfix is ready for download at github.com.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.3
VulDB Meta Temp Score: 3.0

VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Integer overflow
CWE: CWE-190 / CWE-189
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: a596a89e45685ff7464d6f0f94f7509ef2fc8286

Timelineinfo

11/28/2026 Advisory disclosed
11/28/2026 +0 days VulDB entry created
11/28/2026 +0 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 2776
Status: Confirmed

CNA: VulDB
CVE: CVE-2026-138305 (🔒)

GCVE (CVE): GCVE-0-2026-138305
GCVE (VulDB): GCVE-100-445129
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 11/28/2026 20:23
Changes: 11/28/2026 20:23 (60)
Complete: 🔍
Submitter: Hyeontaek Lim
Cache ID: 216::103

Submitinfo

Accepted

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!