{"id":"CVE-2026-86434","published":"2026-09-07T12:53:53Z","modified":"2026-10-08T15:25:54Z","title":"commonmark 2.0.0 through 2.8.3 Denial of Service via Slug Collision","vendor":"thephpleague","product":"commonmark","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00509,"percentile":0.36716,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/thephpleague/commonmark/security/advisories/GHSA-mh25-x5hq-wrqp","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/commonmark-2.0.0-through-2.8.3-denial-of-service-via-slug-collision","tags":["third-party-advisory"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":7.34},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"thephpleague","affectedVersions":[{"vendor":"thephpleague","product":"commonmark","versions":[">= 2.0.0, < 2.8.4"]}],"fixedVersions":[{"vendor":"thephpleague","product":"commonmark","versions":["2.8.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-18T17:42:05.970571Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-72392","exploited":false,"provenance":"source"}}