Skip to content

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

HighCVSS 7.5 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
PHPUbuntuDebian

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.

Upgrade path

13 packages: 2 fixed, 10 with no fix yet.

PackageAffectedFixed inStatus
debian/php-league-commonmark(Debian 12) = 2.3.9-1; = 2.3.9-1+deb12u1; = 2.4.0-1; = 2.4.1-1 +23 more No fix listed No fix yet
debian/php-league-commonmark(Debian 13) = 2.7.0-1; = 2.7.0-1+deb13u1; = 2.7.1-1; = 2.7.1-2 +11 more No fix listed No fix yet
ubuntu/commonmark(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/commonmark(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/commonmark(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/commonmark(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/markdown(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/markdown(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/markdown(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/markdown(Ubuntu 26.10) All versions No fix listed No fix yet
debian/php-league-commonmark(Debian 14) < 2.9.0-1; = 2.7.0-1; = 2.7.1-1; = 2.7.1-2 +5 more 2.9.0-1 Fixed
league/commonmark(Packagist) = 0.6.0; = 0.6.1; = 0.7.0; = 0.7.1 +128 more 2.9.0 Fixed
thephpleague commonmark = >= 0.6.0, < 2.9.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
league/commonmark(Packagist) >= 0.6.0, < 2.9.0 2.9.0
league/commonmark(Packagist) = 0.10.0 No fix listed
league/commonmark(Packagist) = 0.11.0 No fix listed
league/commonmark(Packagist) = 0.11.1 No fix listed
league/commonmark(Packagist) = 0.11.2 No fix listed
league/commonmark(Packagist) = 0.11.3 No fix listed
league/commonmark(Packagist) = 0.12.0 No fix listed
league/commonmark(Packagist) = 0.13.0 No fix listed
league/commonmark(Packagist) = 0.13.1 No fix listed
league/commonmark(Packagist) = 0.13.2 No fix listed
league/commonmark(Packagist) = 0.13.3 No fix listed
league/commonmark(Packagist) = 0.13.4 No fix listed
league/commonmark(Packagist) = 0.14.0 No fix listed
league/commonmark(Packagist) = 0.15.0 No fix listed
league/commonmark(Packagist) = 0.15.1 No fix listed
league/commonmark(Packagist) = 0.15.2 No fix listed
league/commonmark(Packagist) = 0.15.3 No fix listed
league/commonmark(Packagist) = 0.15.4 No fix listed
league/commonmark(Packagist) = 0.15.5 No fix listed
league/commonmark(Packagist) = 0.15.6 No fix listed
league/commonmark(Packagist) = 0.15.7 No fix listed
league/commonmark(Packagist) = 0.16.0 No fix listed
league/commonmark(Packagist) = 0.17.0 No fix listed
league/commonmark(Packagist) = 0.17.1 No fix listed
league/commonmark(Packagist) = 0.17.2 No fix listed
Show 167 more
ProductAffected versionsFixed in
league/commonmark(Packagist) = 0.17.3 No fix listed
league/commonmark(Packagist) = 0.17.4 No fix listed
league/commonmark(Packagist) = 0.17.5 No fix listed
league/commonmark(Packagist) = 0.18.0 No fix listed
league/commonmark(Packagist) = 0.18.1 No fix listed
league/commonmark(Packagist) = 0.18.2 No fix listed
league/commonmark(Packagist) = 0.18.3 No fix listed
league/commonmark(Packagist) = 0.18.4 No fix listed
league/commonmark(Packagist) = 0.18.5 No fix listed
league/commonmark(Packagist) = 0.19.0 No fix listed
league/commonmark(Packagist) = 0.19.1 No fix listed
league/commonmark(Packagist) = 0.19.2 No fix listed
league/commonmark(Packagist) = 0.19.3 No fix listed
league/commonmark(Packagist) = 0.6.0 No fix listed
league/commonmark(Packagist) = 0.6.1 No fix listed
league/commonmark(Packagist) = 0.7.0 No fix listed
league/commonmark(Packagist) = 0.7.1 No fix listed
league/commonmark(Packagist) = 0.7.2 No fix listed
league/commonmark(Packagist) = 0.8.0 No fix listed
league/commonmark(Packagist) = 0.9.0 No fix listed
league/commonmark(Packagist) = 1.0.0 No fix listed
league/commonmark(Packagist) = 1.0.0-beta1 No fix listed
league/commonmark(Packagist) = 1.0.0-beta2 No fix listed
league/commonmark(Packagist) = 1.0.0-beta3 No fix listed
league/commonmark(Packagist) = 1.0.0-beta4 No fix listed
league/commonmark(Packagist) = 1.0.0-rc1 No fix listed
league/commonmark(Packagist) = 1.1.0 No fix listed
league/commonmark(Packagist) = 1.1.1 No fix listed
league/commonmark(Packagist) = 1.1.2 No fix listed
league/commonmark(Packagist) = 1.1.3 No fix listed
league/commonmark(Packagist) = 1.2.0 No fix listed
league/commonmark(Packagist) = 1.2.1 No fix listed
league/commonmark(Packagist) = 1.2.2 No fix listed
league/commonmark(Packagist) = 1.3.0 No fix listed
league/commonmark(Packagist) = 1.3.1 No fix listed
league/commonmark(Packagist) = 1.3.2 No fix listed
league/commonmark(Packagist) = 1.3.3 No fix listed
league/commonmark(Packagist) = 1.3.4 No fix listed
league/commonmark(Packagist) = 1.4.0 No fix listed
league/commonmark(Packagist) = 1.4.1 No fix listed
league/commonmark(Packagist) = 1.4.2 No fix listed
league/commonmark(Packagist) = 1.4.3 No fix listed
league/commonmark(Packagist) = 1.5.0 No fix listed
league/commonmark(Packagist) = 1.5.1 No fix listed
league/commonmark(Packagist) = 1.5.2 No fix listed
league/commonmark(Packagist) = 1.5.3 No fix listed
league/commonmark(Packagist) = 1.5.4 No fix listed
league/commonmark(Packagist) = 1.5.5 No fix listed
league/commonmark(Packagist) = 1.5.6 No fix listed
league/commonmark(Packagist) = 1.5.7 No fix listed
league/commonmark(Packagist) = 1.5.8 No fix listed
league/commonmark(Packagist) = 1.6.0 No fix listed
league/commonmark(Packagist) = 1.6.1 No fix listed
league/commonmark(Packagist) = 1.6.2 No fix listed
league/commonmark(Packagist) = 1.6.3 No fix listed
league/commonmark(Packagist) = 1.6.4 No fix listed
league/commonmark(Packagist) = 1.6.5 No fix listed
league/commonmark(Packagist) = 1.6.6 No fix listed
league/commonmark(Packagist) = 1.6.7 No fix listed
league/commonmark(Packagist) = 2.0.0 No fix listed
league/commonmark(Packagist) = 2.0.0-beta1 No fix listed
league/commonmark(Packagist) = 2.0.0-beta2 No fix listed
league/commonmark(Packagist) = 2.0.0-beta3 No fix listed
league/commonmark(Packagist) = 2.0.0-rc1 No fix listed
league/commonmark(Packagist) = 2.0.0-rc2 No fix listed
league/commonmark(Packagist) = 2.0.1 No fix listed
league/commonmark(Packagist) = 2.0.2 No fix listed
league/commonmark(Packagist) = 2.0.3 No fix listed
league/commonmark(Packagist) = 2.0.4 No fix listed
league/commonmark(Packagist) = 2.1.0 No fix listed
league/commonmark(Packagist) = 2.1.1 No fix listed
league/commonmark(Packagist) = 2.1.2 No fix listed
league/commonmark(Packagist) = 2.1.3 No fix listed
league/commonmark(Packagist) = 2.2.0 No fix listed
league/commonmark(Packagist) = 2.2.1 No fix listed
league/commonmark(Packagist) = 2.2.2 No fix listed
league/commonmark(Packagist) = 2.2.3 No fix listed
league/commonmark(Packagist) = 2.2.4 No fix listed
league/commonmark(Packagist) = 2.2.5 No fix listed
league/commonmark(Packagist) = 2.3.0 No fix listed
league/commonmark(Packagist) = 2.3.1 No fix listed
league/commonmark(Packagist) = 2.3.2 No fix listed
league/commonmark(Packagist) = 2.3.3 No fix listed
league/commonmark(Packagist) = 2.3.4 No fix listed
league/commonmark(Packagist) = 2.3.5 No fix listed
league/commonmark(Packagist) = 2.3.6 No fix listed
league/commonmark(Packagist) = 2.3.7 No fix listed
league/commonmark(Packagist) = 2.3.8 No fix listed
league/commonmark(Packagist) = 2.3.9 No fix listed
league/commonmark(Packagist) = 2.4.0 No fix listed
league/commonmark(Packagist) = 2.4.1 No fix listed
league/commonmark(Packagist) = 2.4.2 No fix listed
league/commonmark(Packagist) = 2.4.3 No fix listed
league/commonmark(Packagist) = 2.4.4 No fix listed
league/commonmark(Packagist) = 2.5.0 No fix listed
league/commonmark(Packagist) = 2.5.1 No fix listed
league/commonmark(Packagist) = 2.5.2 No fix listed
league/commonmark(Packagist) = 2.5.3 No fix listed
league/commonmark(Packagist) = 2.6.0 No fix listed
league/commonmark(Packagist) = 2.6.1 No fix listed
league/commonmark(Packagist) = 2.6.2 No fix listed
league/commonmark(Packagist) = 2.7.0 No fix listed
league/commonmark(Packagist) = 2.7.1 No fix listed
league/commonmark(Packagist) = 2.8.0 No fix listed
league/commonmark(Packagist) = 2.8.1 No fix listed
league/commonmark(Packagist) = 2.8.2 No fix listed
league/commonmark(Packagist) = 2.8.3 No fix listed
debian/php-league-commonmark(Debian:12) All versions No fix listed
debian/php-league-commonmark(Debian:14) < 2.9.0-1 2.9.0-1
debian/php-league-commonmark(Debian:13) All versions No fix listed
thephpleague commonmark = >= 0.6.0, < 2.9.0 No fix listed
debian/php-league-commonmark(Debian:12) = 2.10.0-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.10.1-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.10.3-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.10.4-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.3.9-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.3.9-1+deb12u1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.4.0-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.4.1-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.4.2-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.4.2-2 No fix listed
debian/php-league-commonmark(Debian:12) = 2.5.0-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.5.1-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.5.3-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.6.0-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.6.1-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.6.1-2 No fix listed
debian/php-league-commonmark(Debian:12) = 2.6.2-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.7.0-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.7.1-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.7.1-2 No fix listed
debian/php-league-commonmark(Debian:12) = 2.8.0-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.8.1-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.8.2-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.8.2-2 No fix listed
debian/php-league-commonmark(Debian:12) = 2.8.3-1 No fix listed
debian/php-league-commonmark(Debian:12) = 2.9.0-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.10.0-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.10.1-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.10.3-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.10.4-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.7.0-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.7.0-1+deb13u1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.7.1-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.7.1-2 No fix listed
debian/php-league-commonmark(Debian:13) = 2.8.0-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.8.1-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.8.2-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.8.2-2 No fix listed
debian/php-league-commonmark(Debian:13) = 2.8.3-1 No fix listed
debian/php-league-commonmark(Debian:13) = 2.9.0-1 No fix listed
debian/php-league-commonmark(Debian:14) = 2.7.0-1 No fix listed
debian/php-league-commonmark(Debian:14) = 2.7.1-1 No fix listed
debian/php-league-commonmark(Debian:14) = 2.7.1-2 No fix listed
debian/php-league-commonmark(Debian:14) = 2.8.0-1 No fix listed
debian/php-league-commonmark(Debian:14) = 2.8.1-1 No fix listed
debian/php-league-commonmark(Debian:14) = 2.8.2-1 No fix listed
debian/php-league-commonmark(Debian:14) = 2.8.2-2 No fix listed
debian/php-league-commonmark(Debian:14) = 2.8.3-1 No fix listed
ubuntu/commonmark(Ubuntu:22.04) All versions No fix listed
ubuntu/markdown(Ubuntu:22.04) All versions No fix listed
ubuntu/commonmark(Ubuntu:24.04) All versions No fix listed
ubuntu/markdown(Ubuntu:24.04) All versions No fix listed
ubuntu/commonmark(Ubuntu:26.04) All versions No fix listed
ubuntu/markdown(Ubuntu:26.04) All versions No fix listed
ubuntu/commonmark(Ubuntu:26.10) All versions No fix listed
ubuntu/markdown(Ubuntu:26.10) All versions No fix listed

References