ADVISORIES

Vulnerability

CVE-2026-86434

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.

3 advisories report this vulnerability, across 3 ecosystems.

High severity All Debian 1Packagist 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2026-86434

    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,…

    CVE-2026-86434 Debian Updated 9 October 2026
  • GHSA-mh25-x5hq-wrqp

    league/commonmark: Denial of service via colliding heading slugs

    High CVE-2026-86434 Packagist Updated 20 October 2026
  • UBUNTU-CVE-2026-86434

    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,…

    CVE-2026-86434 Ubuntu Updated 16 September 2026

References