Denial of service in league/commonmark via max_delimiters_per_line bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-770.
Summary
league/commonmark from 2.6.0 before 2.10.8 is affected by a denial of service flaw in DelimiterStack::push(), which miscounts delimiter runs against the max_delimiters_per_line limit. A remote attacker can submit Markdown with two long emphasis character runs to produce deeply nested strong elements, causing quadratic rendering time and CPU exhaustion without authentication. The weakness is classified as CWE-770.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| thephpleague | commonmark | 2.6.0 to before 2.10.8 | 2.10.8 | Patch available | CNA |
- commonmark Vendorthephpleague Affected 2.6.0 to before 2.10.8 Fixed in 2.10.8 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:* | — | — | thephpleague |
- cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:* Versions — — ·thephpleague
Remediation
Upgrade league/commonmark to version 2.10.8 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA commonmark (thephpleague) Fixed in 2.10.8
Timeline
- 2026-11-25 Threatist record created from CVE-2026-136615
- 2026-11-25 Alias added: GHSA-mf74-q2p6-h22q
- 2026-11-25 CISA SSVC decision points changed
References
More thephpleague vulnerabilities
- TI-2026-69535 league/commonmark Quadratic DoS via TableStartParser CVSS 4.0HIGH 8.7
- TI-2026-50093 league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes CVSS 3.1MEDIUM 6.1
- TI-2026-69534 Stored XSS in League CommonMark via DisallowedRawHtml bypass CVSS 4.0MEDIUM 5.3
- TI-2026-65445 Flysystem: WhitespacePathNormalizer's control-character (CorruptedPathDetected) check is… CVSS 3.1LOW 3.5
- TI-2021-12376 Time-of-check Time-of-use (TOCTOU) Race Condition in league/flysystem CVSS 3.1CRITICAL 9.8
- TI-2026-59143 commonmark 1.5.0 before 2.8.4 Denial of Service via Footnote CVSS 4.0HIGH 8.7
Sources
- CVE-2026-136615 · CVE Program
- CVE-2026-136615 · NVD
- FIRST EPSS
- GHSA-mf74-q2p6-h22q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences