Espruino up to 2v29 Storage src/jsflash.c jsfReadFile length integer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.0 | $0-$5k | 0.00+ |
Summary
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.
Details
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.
Product
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.3VulDB Meta Temp Score: 3.0
VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Integer overflowCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: a596a89e45685ff7464d6f0f94f7509ef2fc8286
Timeline
11/28/2026 Advisory disclosed11/28/2026 VulDB entry created
11/28/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 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
Entry
Created: 11/28/2026 20:23Changes: 11/28/2026 20:23 (60)
Complete: 🔍
Submitter: Hyeontaek Lim
Cache ID: 216::103
Submit
Accepted
- Submit #1074814: Espruino 2v29 Integer Overflow (by Hyeontaek Lim)
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.