League CommonMark denial of service via delimiter run bypass in parser
- Exploited
- No known exploitation
- Fix
- Fixed in 2.10.8
- Who is exposed
- Not reported
Summary
league/commonmark, a PHP Markdown library, is affected. A remote attacker who can submit Markdown to it, without logging in, can crafted input with two long runs of emphasis characters to cause deeply nested strong elements, which takes excessive CPU time to render and can exhaust the processor. The flaw is in how the library counts delimiter runs against its per-line limit, and no special setup is noted as required.
Written by a model
Original 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.
What to do
Upgrade to a fixed version: 2.10.8.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-136615 (league/commonmark 2.6.0 before 2.10.8 Denial of Service via max_delimiters_per_line Bypass), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-136615 (entry last updated 2026-11-25):
Affected:
- Packagist package league/commonmark: from 2.6.0, fixed in 2.10.8
Fixed versions: 2.10.8.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-136615 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-136615 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Packagist): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-h4px-59g8-q37c
- https://github.com/thephpleague/commonmark/commit/eb208506ff62b871d14bf5b086ae83405e23190e
- https://github.com/thephpleague/commonmark/releases/tag/2.10.8
- https://github.com/thephpleague/commonmark/blob/2.10.7/src/Delimiter/DelimiterStack.php#L57-L61
- https://www.vulncheck.com/advisories/league-commonmark-2.6.0-before-2.10.8-denial-of-service-via-max-delimiters-per-line-bypass
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-136615
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-136615"}.Affected versions
cve.now Index
- Exploitation0/40No signal
- Exposure17/25No login or user action needed per the CVSS vector, reachable over the network without a login · Unknown: No advisory context yet
- Reach10/20Affects Packagist packages
- Severity6.3/10CVSS 6.3
- No patch0/5No signal
What would change the score
- Would score about 78 if added to CISA KEV
- Would score about 73 if CISA's SSVC rates exploitation active
- Would score about 38 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Evidence 7
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · thephpleague/commonmark · Advisory GHSA-h4px-59g8-q37c |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-136615 |
| Record | NVD · CVE-2026-136615 |
| Other links 4 | |
| Patch | GitHub · thephpleague/commonmark · Commit eb208506 |
| Repository | GitHub · thephpleague/commonmark · Release 2.10.8 |
| Repository | GitHub · thephpleague/commonmark · src/Delimiter/DelimiterStack.php · L57-L61 |
| Link | vulncheck.com · advisories/league-commonmark-2.6.0-before-2.10.8-denial-of-service-via-max-delimiters-per-line-bypass |
Questions about CVE-2026-136615
Is CVE-2026-136615 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-136615?
league/commonmark (Packagist): from 2.6.0 before 2.10.8.
Source: cve.now feed data
How do I fix CVE-2026-136615?
Upgrade to a fixed version: 2.10.8.
Source: cve.now feed data
Related
- CVE-2026-105830league/commonmark 2.0.0 before 2.10.2 Quadratic DoS via TableStartParser
- CVE-2024-58382league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity
- CVE-2026-86434commonmark 2.0.0 through 2.8.3 Denial of Service via Slug Collision
- CVE-2026-86430league/commonmark before 2.9.1 Denial of Service via parsing
- CVE-2026-86429commonmark before 2.9.1 Denial of Service via SmartPunct and Attributes
- CVE-2026-86428commonmark 1.5.0 before 2.10.0 Denial of Service via Attributes
No corrections so far. Something wrong on this page? Report an error.