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.

Project Subscriptions

Vendors Products
Marked Project Subscribe
Markedjs Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6v9c-7cg6-27q7 Marked Vulnerable to OOM Denial of Service via Infinite Recursion in marked Tokenizer
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 06 May 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 28 Apr 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Marked Project
Marked Project marked
CPEs cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*
Vendors & Products Marked Project
Marked Project marked
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Mon, 27 Apr 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Markedjs
Markedjs marked
Vendors & Products Markedjs
Markedjs marked

Fri, 24 Apr 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 24 Apr 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title Marked: OOM Denial of Service via Infinite Recursion in marked Tokenizer
Weaknesses CWE-400
CWE-674
CWE-835
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-24T19:08:41.300Z

Reserved: 2026-04-22T03:53:24.406Z

Link: CVE-2026-41680

cve-icon Vulnrichment

Updated: 2026-04-24T19:08:04.324Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-24T18:16:29.567

Modified: 2026-04-28T19:37:46.943

Link: CVE-2026-41680

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-24T17:26:27Z

Links: CVE-2026-41680 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T06:00:09Z

Weaknesses