CVE-2026-41680: CWE-400: Uncontrolled Resource Consumption in markedjs marked
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.
AI Analysis
Technical Summary
The marked markdown parser and compiler versions from 18.0.0 up to but not including 18.0.2 are vulnerable to uncontrolled resource consumption (CWE-400) due to an infinite recursion triggered by a crafted 3-byte input sequence (\x09\x0b\n). This input causes the parser to enter an infinite loop, resulting in unbounded memory allocation and eventual crash of the Node.js host application via out-of-memory conditions. This vulnerability is identified as CVE-2026-41680 with a CVSS 4.0 base score of 8.7 (high severity). The issue is resolved in marked version 18.0.2.
Potential Impact
An unauthenticated attacker can cause a denial of service by crashing the Node.js application using marked versions 18.0.0 or 18.0.1 through a crafted input that triggers infinite recursion and memory exhaustion. This can disrupt service availability but does not indicate code execution or data breach from the provided data.
Mitigation Recommendations
Upgrade marked to version 18.0.2 or later, where this vulnerability is fixed. Patch status is confirmed by the version range and fixed version information. No other mitigations are indicated or required.
CVE-2026-41680: CWE-400: Uncontrolled Resource Consumption in markedjs marked
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The marked markdown parser and compiler versions from 18.0.0 up to but not including 18.0.2 are vulnerable to uncontrolled resource consumption (CWE-400) due to an infinite recursion triggered by a crafted 3-byte input sequence (\x09\x0b\n). This input causes the parser to enter an infinite loop, resulting in unbounded memory allocation and eventual crash of the Node.js host application via out-of-memory conditions. This vulnerability is identified as CVE-2026-41680 with a CVSS 4.0 base score of 8.7 (high severity). The issue is resolved in marked version 18.0.2.
Potential Impact
An unauthenticated attacker can cause a denial of service by crashing the Node.js application using marked versions 18.0.0 or 18.0.1 through a crafted input that triggers infinite recursion and memory exhaustion. This can disrupt service availability but does not indicate code execution or data breach from the provided data.
Mitigation Recommendations
Upgrade marked to version 18.0.2 or later, where this vulnerability is fixed. Patch status is confirmed by the version range and fixed version information. No other mitigations are indicated or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-22T03:53:24.406Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ebaa0487115cfb685ef42a
Added to database: 4/24/2026, 5:36:04 PM
Last enriched: 4/24/2026, 5:51:03 PM
Last updated: 4/24/2026, 8:26:25 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.