Espruino Storage jsflash.c jsfReadFile integer overflow
Summary
| CVE | CVE-2026-138305 |
|---|---|
| State | PUBLISHED |
| Assigner | VulDB |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-29 19:17:00 UTC |
| Updated | 2026-11-29 19:17:01 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 1.9 LOW from [email protected]
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-189 | CWE-190 | CWE-190 Integer Overflow | CWE-189 Numeric Error
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 1.9 | LOW | 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/C... |
| 4.0 | CNA | DECLARED | 4.8 | MEDIUM | 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 |
| 3.1 | [email protected] | Primary | 3.3 | LOW | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | CNA | DECLARED | 3.3 | LOW | 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 |
| 3.0 | CNA | DECLARED | 3.3 | LOW | 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 |
| 2.0 | [email protected] | Secondary | 1.7 | AV:L/AC:L/Au:S/C:P/I:N/A:N | |
| 2.0 | CNA | DECLARED | 1.7 | AV:L/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:OF/RC:C |
CVSS v4.0 Breakdown
Attack Vector
LocalAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
NoneConfidentiality
LowIntegrity
NoneAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/espruino/Espruino/commit/a596a89e45685ff7464d6f0f94f7509ef2fc... | [email protected] | github.com | |
| github.com/espruino/Espruino/issues/2776 | [email protected] | github.com | |
| vuldb.com/submit/1074814 | [email protected] | vuldb.com | |
| github.com/espruino/Espruino | [email protected] | github.com | |
| vuldb.com/vuln/445129 | [email protected] | vuldb.com | |
| vuldb.com/vuln/445129/cti | [email protected] | vuldb.com | |
| vuldb.com/cve/CVE-2026-138305 | [email protected] | vuldb.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Hyeontaek Lim (VulDB User) (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-28T00:00:00.000Z | Advisory disclosed |
| CNA | 2026-11-28T01:00:00.000Z | VulDB entry created |
| CNA | 2026-11-28T20:23:03.000Z | VulDB entry last update |
There are currently no legacy QID mappings associated with this CVE.