Packagist
CVE-2026-136615
league/commonmark 2.6.0 before 2.10.8 Denial of Service via max_delimiters_per_line Bypass
- Severity
- Medium 6.3
- Published
- 25 Nov 2026
- Last changed
- 25 Nov 2026
- Added to UpHeron
- 25 Nov 2026
- Fixed in
- 2.10.8
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
league/commonmark 2.6.0 before 2.10.8 contains a denial of service vulnerability in DelimiterStack::push() that miscounts delimiter runs against the max_delimiters_per_line 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
| Software | Affected versions |
|---|---|
league/commonmarkPackagist · osv:Packagist:league/commonmark |
|
About league/commonmark
- Monthly downloads (Packagist)
- 28,794,837Packagist, 25 Nov 2026
- Total downloads (Packagist)
- 529,976,926Packagist, 25 Nov 2026
This is the only vulnerability in league/commonmark in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-136615