CVE-2026-71488

HIGH

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.5
EPSS 0.0035
EPSS Percentile 27.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-1050 CWE-407
Status published
Products (2)
league/commonmark 0.6.0 - 2.9.0Packagist
thephpleague/commonmark >= 0.6.0, < 2.9.0
Published Aug 06, 2026
Tracked Since Aug 07, 2026