Security Resilience

CVE-2026-41680

DoS in Marked Project Marked 18.0.0 – 18.0.2

Public PoCDoS
Published
24 April 2026
Modified
26 October 2026
Patch / advisory
CVSS Score v4 8.7
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0053 38th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-41680 is a high-severity Uncontrolled Resource Consumption (CWE-400) vulnerability in Marked Project Marked. Its CVSS base score is 8.7 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 38th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-5 (Denial-of-service Protection) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-41680 is a critical Denial of Service (DoS) vulnerability in the Marked markdown parser and compiler, affecting versions 18.0.0 through 18.0.1. The flaw arises from an infinite recursion loop triggered by a specific three-byte input sequence—a tab (\x09), a vertical tab (\x0b), and a newline (\n)—during parsing. This causes unbounded memory allocation, resulting in memory exhaustion (OOM) and a crash of the host Node.js application. The vulnerability is associated with CWEs-400 (Uncontrolled Resource Consumption), CWE-674 (Uncontrolled Recursion), and CWE-835 (Infinite Loop), and carries a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

An unauthenticated attacker can exploit this vulnerability remotely over the network with low complexity and no user interaction required. By supplying the malicious three-byte sequence to a Marked parser in a Node.js application—such as in web servers, APIs, or tools that process untrusted Markdown input—the attacker triggers the recursion loop, leading to complete denial of service through application crash.

The official GitHub security advisory (GHSA-6v9c-7cg6-27q7) confirms the issue and states that it is fixed in Marked version 18.0.2. Security practitioners should upgrade to 18.0.2 or later and audit dependencies in Node.js projects using Marked for user-supplied Markdown parsing.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-29904Shared CWE-674, CWE-835
CVE-2026-107349Shared CWE-400, CWE-835
CVE-2026-54623Shared CWE-674, CWE-835
CVE-2026-54772Shared CWE-400, CWE-835
CVE-2026-59843Shared CWE-400, CWE-835
CVE-2026-34282Shared CWE-400, CWE-835
CVE-2026-46385Shared CWE-400, CWE-835
CVE-2026-41146Shared CWE-400, CWE-835
CVE-2026-68537Shared CWE-400, CWE-835
CVE-2026-26066Shared CWE-400, CWE-835

Affected Assets

marked project
marked
18.0.0 — 18.0.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover unreachable loop exit conditions through static analysis, fuzzing, or execution tracing.

SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.

SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.

Input validation can reject or constrain data that would otherwise drive unbounded recursive calls.

Flaw remediation processes identify and correct infinite-loop defects reported from testing or operations.

Requiring documented development processes and secure coding standards reduces introduction of loops whose termination conditions are unreachable.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices (reviews, testing, static analysis) directly prevent introduction of infinite-loop defects.

ID.RA-01 partial match
blocks

Static analysis and vuln scanning during asset assessment can detect unreachable loop exits.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.

finds

Security testing in development can detect excessive recursion via static analysis or fuzzing.

blocks

A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.

prevents

Secure coding standards directly prohibit or constrain recursive constructs that could exhaust stack or memory.

blocks

Capacity management ensures sufficient resources are available and monitors utilization, but it does not stop an attacker from sending requests that consume those resources once the system is operational.

finds

A.8.8's reach is DISCLOSURE — it sees only third-party components with published advisories. CWE-835 instances that surface as CVEs in third-party libraries (e.g., CVE-2025-32399, CVE-2022-25304) are discoverable through vulnerability scanning, but the majority of infinite loops live in first-party code where no advisory is ever published, and A.8.8 has no view of those.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.
  • No fine-grained STIG row for CWE-674, a class-level weakness, and none of its children carries one either.

References