{"id":"CVE-2026-88388","published":"2026-09-24T21:18:57.247","lastModified":"2026-09-25T16:17:29.213","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-121"],"vendors":[],"products":[],"references":[{"url":"https://github.com/espruino/Espruino/commit/ecd7d43e084ba9aafa8245609347fe0f4383b38c","tags":[]}],"exploitRefs":[{"url":"https://github.com/espruino/Espruino/commit/ecd7d43e084ba9aafa8245609347fe0f4383b38c","tags":[]}],"hasPoc":true,"ai":{"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.","remediation":"Upgrade to Espruino 2v30 or later to remediate this stack-based buffer overflow vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","javascript","embedded"],"model":"garnet-coder","analyzedAt":"2026-10-18T10:34:00.596Z"}}