CVE-2026-41680: CWE-400: Uncontrolled Resource Consumption in markedjs marked
Marked versions 18. 0. 0 and 18. 0. 1 contain a critical denial of service vulnerability caused by an infinite recursion loop triggered by a specific 3-byte input sequence (tab, vertical tab, newline). This leads to unbounded memory allocation and crashes the host Node. js application due to out-of-memory conditions. The vulnerability is fixed in version 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 input sequence consisting of a tab, vertical tab, and newline characters (\x09\x0b\n). This causes the parser to allocate memory without bounds, resulting in a denial of service via application crash from memory exhaustion. The vulnerability has a CVSS 4.0 base score of 8.7, indicating high severity, and affects unauthenticated attackers remotely. The issue is resolved in marked version 18.0.2.
Potential Impact
An unauthenticated attacker can cause a denial of service by sending a specific 3-byte input sequence to the vulnerable marked parser, triggering infinite recursion and unbounded memory allocation. This leads to the host Node.js application crashing due to out-of-memory conditions, disrupting service availability.
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 specified or required.
CVE-2026-41680: CWE-400: Uncontrolled Resource Consumption in markedjs marked
Description
Marked versions 18. 0. 0 and 18. 0. 1 contain a critical denial of service vulnerability caused by an infinite recursion loop triggered by a specific 3-byte input sequence (tab, vertical tab, newline). This leads to unbounded memory allocation and crashes the host Node. js application due to out-of-memory conditions. The vulnerability is fixed in version 18. 0. 2.
CVSS v4.0
Score 8.7high
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 input sequence consisting of a tab, vertical tab, and newline characters (\x09\x0b\n). This causes the parser to allocate memory without bounds, resulting in a denial of service via application crash from memory exhaustion. The vulnerability has a CVSS 4.0 base score of 8.7, indicating high severity, and affects unauthenticated attackers remotely. The issue is resolved in marked version 18.0.2.
Potential Impact
An unauthenticated attacker can cause a denial of service by sending a specific 3-byte input sequence to the vulnerable marked parser, triggering infinite recursion and unbounded memory allocation. This leads to the host Node.js application crashing due to out-of-memory conditions, disrupting service availability.
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 specified 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: 5/1/2026, 8:42:11 PM
Last updated: 6/9/2026, 12:57:41 AM
Views: 79
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.