Skip to main content
← All vulnerabilities
CVE-2026-41680GHSA-6V9C-7CG6-27Q7

Marked: OOM Denial of Service via Infinite Recursion in marked Tokenizer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 18.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • markedjs marked

    From 18.0.0 · fixed in 18.0.2

  • markednpm

    From 18.0.0 · fixed in 18.0.2

References 1

GitHub · markedjs/marked