league/commonmark 2.6.0 before 2.10.8 Denial of Service via max_delimiters_per_line Bypass
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| thephpleaguecommonmark |
≥ 2.6.0, < 2.10.8→ 2.10.8 |
2.10.8 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-136615 php-league-commonmark No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-136615 php-league-commonmark No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com
- web packagist.org