CVE-2026-86716
Cesanta mJS mjs_tok.c skip_spaces_and_comments heap-based overflow
- State
- Published
- Severity
- 6.9 Medium
- Published
- Sep 8, 2026
- Updated
- Sep 8, 2026
- Reserved
- Sep 8, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 7.3 High | 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 | VulDB |
| 3.0 | 7.3 High | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 7.5 High | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
mJSCesanta |
|
References
- VDB-399773 | Cesanta mJS mjs_tok.c skip_spaces_and_comments heap-based overflowvdb-entrytechnical-description
- VDB-399773 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-86716 | CVE Analysis and Reportthird-party-advisory
- Submit #910881 | cesanta mJS v1.26 Heap-based Buffer Overflowthird-party-advisory
- Submit #910882 | cesanta mJS v1.26 Heap-based Buffer Overflow (Duplicate)third-party-advisory
- https://github.com/cesanta/mjs/issues/324exploitissue-tracking
- https://github.com/cesanta/mjs/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.