PoC Monitor
← All CVEs
CVE-2026-86434published 7 Sep 2026 12:53 UTCData: JSON · API

Thephpleague commonmark

commonmark 2.0.0 through 2.8.3 Denial of Service via Slug Collision

league/commonmark versions >= 2.0.0 and < 2.8.4 (patched in 2.9.0) contain a denial of service vulnerability in UniqueSlugNormalizer::normalize(), which restarts its numeric-suffix search from 1 on every slug collision, resulting in O(K^2) time complexity for K headings that collapse to the same base slug. The vulnerable path is reached when HeadingPermalinkExtension, FootnoteExtension, or TableOfContentsExtension is registered. An unauthenticated attacker can force many headings onto a single base slug (e.g., via empty ATX headings, identical heading text, or punctuation-only headings) in a small Markdown document, consuming excessive CPU and denying service.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-407
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

thephpleague commonmark
  • >= 2.0.0, < 2.8.4

Fixed in 2.8.4

Mitigation

Upgrade commonmark to 2.8.4 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published7 Sep 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.