# CVE-2026-138305: Espruino Storage jsflash.c jsfReadFile integer overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-29T18:45:16.504Z
- Modified: 2026-11-30T18:18:52.233Z
- Weaknesses: CWE-189, CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Espruino: 2v29

## Every score

- VulDB: CVSS:4.0 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`
- VulDB: CVSS:3.1 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`
- VulDB: CVSS:3.0 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`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:OF/RC:C`

## References

- <https://github.com/espruino/Espruino/issues/2776> (exploit, issue-tracking)
- <https://vuldb.com/vuln/445129> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/445129/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-138305> (third-party-advisory)
- <https://vuldb.com/submit/1074814> (third-party-advisory)
- <https://github.com/espruino/Espruino/commit/a596a89e45685ff7464d6f0f94f7509ef2fc8286> (patch)
- <https://github.com/espruino/Espruino/> (product)

## Sources

- CVE List: [CVE-2026-138305](https://www.cve.org/CVERecord?id=CVE-2026-138305), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138305](https://nvd.nist.gov/vuln/detail/CVE-2026-138305), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138305 · Whole record: https://cve.day/CVE-2026-138305.json · Rebuilt by cve.day 2026-11-30T18:32:27.702Z
