CVE-2026-136615
league/commonmark 2.6.0 before 2.10.8 Denial of Service via max_delimiters_per_line Bypass
Medium · 6.3Fix available
- CVSS
- 6.3
- EPSS
- 0.64% (p45)
- Published
- 2026-11-25
- Age
- 4d old
- Modified
- 2026-11-25
- Product
- thephpleague commonmark
- Aliases
- GHSA-h4px-59g8-q37c
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
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.
Fixed in
2.10.8
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | commonmark | >=2.6.0, <2.10.8 | 2.10.8 |
Sources
- NVD · first seen 4d ago · NVD terms of use
- OSV · first seen 4d ago · CC-BY 4.0
- CVE List · first seen 4d ago · CVE Terms of Use
References
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-h4px-59g8-q37c vendor-advisory
- https://github.com/thephpleague/commonmark/commit/eb208506ff62b871d14bf5b086ae83405e23190e patch
- https://github.com/thephpleague/commonmark/releases/tag/2.10.8 release-notes
- https://github.com/thephpleague/commonmark/blob/2.10.7/src/Delimiter/DelimiterStack.php#L57-L61 technical-description
- https://www.vulncheck.com/advisories/league-commonmark-2.6.0-before-2.10.8-denial-of-service-via-max-delimiters-per-line-bypass third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136615.json advisory
- https://github.com/thephpleague/commonmark package
- https://nvd.nist.gov/vuln/detail/CVE-2026-136615 advisory
- https://packagist.org web