Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136615: medium-severity vulnerability (CVSS 6.3) in thephpleague commonmark.
What happened
Original description from 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.
Why it matters
Medium severity, CVSS 6.3.
Affected products and versions
thephpleague commonmark >= 2.6.0, < 2.10.8
| Product | Versions | Fixed in |
|---|---|---|
| thephpleague commonmark | >= 2.6.0, < 2.10.8 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-h4px-59g8-q37c — CVE Program
- https://github.com/thephpleague/commonmark/commit/eb208506ff62b871d14bf5b086ae83405e23190e — CVE Program
- https://github.com/thephpleague/commonmark/releases/tag/2.10.8 — CVE Program
- https://github.com/thephpleague/commonmark/blob/2.10.7/src/Delimiter/DelimiterStack.php#L57-L61 — CVE Program
- https://www.vulncheck.com/advisories/league-commonmark-2.6.0-before-2.10.8-denial-of-service-via-max-delimiters-per-line-bypass — CVE Program
Weaknesses (CWE): CWE-770
Relevant change history
Published
Preliminary advisory published.