HIGHVulnerability
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.
Properties
- severity
- HIGH
- score
- 7.5
- cve_id
- CVE-2026-86434
- signal_observed_at
- 2026-09-19T18:05:26+00:00
- vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- published_at
- 2026-09-07T13:20:42.870
- last_modified
- 2026-09-19T15:17:06.503
Related Entities (2)
HAS_WEAKNESS (1)
→[Weakness]Inefficient Algorithmic Complexity
DESCRIBED_BY (1)
→[Source]NVD
Explore deeper with Ninja Signal's threat intelligence graph