CVE-2026-136615: league/commonmark 2.6.0 before 2.10.8 Denial of Service via max_delimiters_per_line Bypass
league/commonmark 2.6.0 before 2.10.8 contains a denial of service vulnerability in DelimiterStack::push() that miscounts delimiter runs against the maxdelimitersperline budget. Attackers submitting Markdown with two long emphasis character runs can produce deeply nested strong elements, causing quadratic rendering time and CPU exhaustion.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using packagist/league/commonmark versions from 2.6.0 before 2.10.8 are affected when they render attacker-supplied Markdown. The impact is CPU exhaustion during rendering rather than disclosure or modification of data.
What must an attacker do to trigger the issue?
An attacker needs to submit Markdown containing two long emphasis-character runs. This can cause deeply nested strong elements and quadratic rendering time.
How can I determine whether my application is affected?
Check the installed league/commonmark version and whether the application accepts and renders Markdown from untrusted users. Versions 2.6.0 through versions before 2.10.8 meet the affected version range.
What is the available remediation?
Update league/commonmark to version 2.10.8, which is outside the affected range.