Vulnerability · Published Sep 8, 2026 · Assigned by VulDB
CVE-2026-86716Cesanta mJS mjs_tok.c skip_spaces_and_comments heap-based overflow
High 7.3
In plain English
A high-severity heap buffer overflow in mJS from Cesanta. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities).
Official description
A vulnerability was determined in Cesanta mJS up to 1.26. Affected is the function skip_spaces_and_comments of the file src/mjs_tok.c. Executing a manipulation can lead to heap-based buffer overflow. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-399773 | Cesanta mJS mjs_tok.c skip_spaces_and_comments heap-based overflow vdb-entry, technical-description
- VDB-399773 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2026-86716 | CVE Analysis and Report third-party-advisory
- Submit #910881 | cesanta mJS v1.26 Heap-based Buffer Overflow third-party-advisory
- Submit #910882 | cesanta mJS v1.26 Heap-based Buffer Overflow (Duplicate) third-party-advisory
- https://github.com/cesanta/mjs/issues/324 exploit, issue-tracking
- https://github.com/cesanta/mjs/ product