CVE-2026-41680
published high CVSS 4.0 · 8.7Marked: OOM Denial of Service via Infinite Recursion in marked Tokenizer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| markedjs | — | marked>= 18.0.0, < 18.0.2 | Affected | Not stated | GitHub_M |
Description
Marked is a markdown parser and compiler. From 18.0.0 to 18.0.1, a critical Denial of Service (DoS) vulnerability exists in marked. By providing a specific 3-byte input sequence a tab, a vertical tab, and a newline (\x09\x0b\n)—an unauthenticated attacker can trigger an infinite recursion loop during parsing. This leads to unbounded memory allocation, causing the host Node.js application to crash via Memory Exhaustion (OOM). This vulnerability is fixed in 18.0.2.
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
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| markedjs | marked | >= 18.0.0, < 18.0.2 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-674 CWE-674: Uncontrolled Recursion
- CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
References
1Provider assertions
2GitHub_M · cna
Marked: OOM Denial of Service via Infinite Recursion in marked Tokenizer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c547c1e20ce1f84e093e404274a6f97d3d24b240981a35aeef1f52dfddcefaf1
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record