← Back to search

CVE-2026-88388

7.5 HIGHpublic exploit available

Published 2026-09-24 · Updated 2026-09-25

AI risk analysis

Summary
A stack-based buffer overflow exists in Espruino 2v29 where a mismatched pointer type causes an 8-byte write to adjacent stack memory when handling JavaScript error stack traces. This allows remote attackers to potentially corrupt program execution flow and execute arbitrary code.
Exploitability
Exploitation is moderately difficult as it requires crafting specific JavaScript input that triggers an exception in a way that leads to the vulnerable jslPrintTokenLineMarker() function, but no authentication or complex preconditions are needed beyond sending malicious JavaScript to the target system.
Blast radius
If exploited, this vulnerability could allow remote attackers to execute arbitrary code on affected Espruino devices, potentially leading to full system compromise of IoT devices running this JavaScript engine.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Espruino 2v30 or later to remediate this stack-based buffer overflow vulnerability.
rcejavascriptembedded

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

Espruino 2v29 (commit bffc6d0) contains a stack-based buffer overflow vulnerability in the JavaScript error stack-trace handling path on 64-bit builds. A remote attacker can supply JavaScript input that triggers an exception and reaches jslPrintTokenLineMarker(), which passes the address of a 4-byte int column variable to jsvGetLineAndCol() as a size_t pointer. jsvGetLineAndCol() performs an 8-byte write through the mismatched pointer, overwriting adjacent stack memory.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CWE-121

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.