CVE-2026-86434

published 7 Sep 2026 · updated 8 Oct 2026

commonmark 2.0.0 through 2.8.3 Denial of Service via Slug Collision

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.8.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
thephpleague>=2.0.0 <2.8.42.8.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-86434 severity on Zeptric[![CVE-2026-86434](https://zeptric.io/badge/cve/CVE-2026-86434.svg)](https://zeptric.io/cve/CVE-2026-86434)