ZeroHour

CVE-2026-86435

Quadratic Output Expansion DoS in commonmark Footnote Extension

CVSS 4.0
8.7 high
EPSS
<1%p20
Published
()
Modified
AI analysis

CVE-2026-86435 is a denial-of-service vulnerability in the Footnote extension of the commonmark Markdown parser, affecting versions from 1.5.0 up to but not including 2.8.4, in which footnote definitions are not deduplicated. An attacker who can submit a crafted Markdown document containing duplicate footnote definitions and references triggers quadratic output expansion during rendering, consuming excessive memory and CPU. Per the CVSS 4.0 vector (network vector, no privileges, no user interaction, high availability impact on the vulnerable system; 8.7 High), an unauthenticated attacker can exhaust server resources and degrade or deny availability of the service rendering the document. Any application, site, or API that processes untrusted Markdown through an affected commonmark version with the Footnote extension enabled is affected. No public proof-of-concept or in-the-wild exploitation is known (not in CISA KEV), and the EPSS score of 0.3% (20th percentile) indicates a low probability of near-term exploitation.

What to do: Upgrade commonmark to version 2.8.4 or later, which deduplicates footnote definitions and resolves the flaw. Until patched, disable or restrict the Footnote extension for untrusted input and enforce maximum document size, request timeouts, and memory/CPU limits on Markdown-rendering endpoints. Check whether your application or service processes attacker-supplied Markdown through a commonmark version in the affected range (1.5.0 or higher, below 2.8.4).

Affected
commonmark (Footnote extension)>= 1.5.0 and < 2.8.4 (fixed in 2.8.4)
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

commonmark versions from 1.5.0 before 2.8.4 contain a denial of service vulnerability in the Footnote extension that fails to deduplicate footnote definitions. Attackers can craft documents with duplicate footnote definitions and references to create quadratic output expansion, consuming excessive memory and CPU to exhaust server resources.

Weakness
CWE-407
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/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

In the news

No ingested article mentions this CVE yet.