CVE-2026-71488
published high CVSS 3.1 · 7.5league/commonmark: Quadratic-time denial of service when parsing crafted Markdown
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| thephpleague | — | commonmark>= 0.6.0, < 2.9.0 | Affected | Not stated | GitHub_M |
Description
league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 0.6.0 until 2.9.0, specially crafted Markdown lines can cause the parser to have quadratic time complexity when converting, because several parsing paths repeatedly rescan growing portions of a line to translate between character positions and byte positions, and the Autolink extension can also copy and validate the remaining line at every URL-like prefix, allowing an attacker who can submit Markdown for conversion to consume disproportionate CPU time with a comparatively small request. This issue is fixed in 2.9.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| thephpleague | commonmark | >= 0.6.0, < 2.9.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-407 CWE-407: Inefficient Algorithmic Complexity
- CWE-1050 CWE-1050: Excessive Platform Resource Consumption within a Loop
References
5- https://github.com/thephpleague/commonmark/commit/a6ef6cdc308dfa39a34239c35818e75892a0e6a8
- https://github.com/thephpleague/commonmark/commit/a70979ea0d7d3377bd7127536748454a922bf5eb
- https://github.com/thephpleague/commonmark/commit/c97b02e5e652b992033b93ba5d6182f706343fc6
- https://github.com/thephpleague/commonmark/releases/tag/2.9.0
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-2q4p-g7hv-5rgv
Provider assertions
2GitHub_M · cna
league/commonmark: Quadratic-time denial of service when parsing crafted Markdown
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 00496c8e4994835c9df317c18eb2782aa9f668e56755d0efa239681f0aa2d21b
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record