CVE-2026-86716
6.9medium
Cesanta mJS mjs_tok.c skip_spaces_and_comments heap-based overflow
- Severity
- 6.9medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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
| Product or package | Versions | Reported by |
|---|---|---|
| Cesanta mJS | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7 and 19 more | CVE List |
All scores
| VulDB | 6.9medium CVSS:4.0 | 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 | 7.3high CVSS:3.1 | 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 | 7.3high CVSS:3.0 | 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 | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
Classification
References
| https://vuldb.com/vuln/399773 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/399773/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-86716 | third-party-advisory | |
| https://vuldb.com/submit/910881 | third-party-advisory | |
| https://vuldb.com/submit/910882 | third-party-advisory | |
| https://github.com/cesanta/mjs/issues/324 | exploit, issue-tracking | |
| https://github.com/cesanta/mjs/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-86716 changed 2026-09-08 | CVE Terms of Use |
| NVD | CVE-2026-86716 changed 2026-09-08 | Public domain |