CVE-2026-86716
published medium CVSS 4.0 · 6.9Cesanta mJS mjs_tok.c skip_spaces_and_comments heap-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cesanta | — | mJS1.0 · 1.1 · 1.2 · 1.3 · 1.4 · 1.5 · 1.6 · 1.7 · 1.8 · 1.9 · 1.10 · 1.11 · 1.12 · 1.13 · 1.14 · 1.15 · 1.16 · 1.17 · 1.18 · 1.19 · 1.20 · 1.21 · 1.22 · 1.23 · 1.24 · 1.25 · 1.26 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | 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 | — |
| 3.0 | 7.3 | high | VulDB · cna | 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 | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cesanta | mJS | 1.0 (affected)1.1 (affected)1.2 (affected)1.3 (affected)1.4 (affected)1.5 (affected)1.6 (affected)1.7 (affected)1.8 (affected)1.9 (affected)1.10 (affected)1.11 (affected)1.12 (affected)1.13 (affected)1.14 (affected)1.15 (affected)1.16 (affected)1.17 (affected)1.18 (affected)1.19 (affected)1.20 (affected)1.21 (affected)1.22 (affected)1.23 (affected)1.24 (affected)1.25 (affected)1.26 (affected) | VulDB · cna |
Weaknesses
2- CWE-122 Heap-based Buffer Overflow
- CWE-119 Memory Corruption
References
7- https://github.com/cesanta/mjs/
- https://github.com/cesanta/mjs/issues/324
- CVE-2026-86716 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-86716
- Submit #910881 | cesanta mJS v1.26 Heap-based Buffer Overflow https://vuldb.com/submit/910881
- Submit #910882 | cesanta mJS v1.26 Heap-based Buffer Overflow (Duplicate) https://vuldb.com/submit/910882
- VDB-399773 | Cesanta mJS mjs_tok.c skip_spaces_and_comments heap-based overflow https://vuldb.com/vuln/399773
- VDB-399773 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/399773/cti
Provider assertions
2VulDB · cna
Cesanta mJS mjs_tok.c skip_spaces_and_comments heap-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 15b7e822fada4055b13f6860d8d7113b2641e6d94bc446a0a8f6ab97d7794884
- Ingested
- 23 Sep 2026, 09:37:28 UTC
- Source record
- Official CVE record