← CVE Intelligence

CVE-2026-71488

league/commonmark: Quadratic-time denial of service when parsing crafted Markdown PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
thephpleague / commonmarkaffected >= 0.6.0, < 2.9.0

CWE

CWE-407, CWE-1050

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.