league/commonmark 2.6.0 before 2.10.8 Denial of Service via max_delimiters_per_line Bypass
CVE-2026-136615Published 25 Nov 2026, 03:09 UTC
Real-world risk
0.5/ 10Low
Routine
If the vulnerable configuration applies to you: 1.1
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| commonmarkNiche | >= 2.6.0, < 2.10.8 | 2.10.8 |
What to do
Update to a fixed version: 2.10.8.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.6% chance of exploitation in 30 days (percentile 52), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.203
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.2025 × threat 0.850.516
- Rounded to one decimal between 0.1 and 100.5
Exploitation and evidence timeline
- 25 Nov 2026 Published
- 3 Dec 2026 Risk 0.5 (cvss fallback)
Weakness
CWE-770
References
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-h4px-59g8-q37cvendor-advisory
- https://github.com/thephpleague/commonmark/commit/eb208506ff62b871d14bf5b086ae83405e23190epatch
- https://github.com/thephpleague/commonmark/releases/tag/2.10.8release-notes
- https://github.com/thephpleague/commonmark/blob/2.10.7/src/Delimiter/DelimiterStack.php#L57-L61technical-description
- https://www.vulncheck.com/advisories/league-commonmark-2.6.0-before-2.10.8-denial-of-service-via-max-delimiters-per-line-bypassthird-party-advisory
- CVE-2026-136615 on CVE.org