CVEfocus › CVE database › CVE-2026-71488

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

CVSS 7.5 HighEPSS 0.6% (higher than 45% of CVEs)Published 2026-08-06Updated 2026-08-07Assigner: GitHub_M

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.

CWE-1050CWE-407

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
7Fix pending
6Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10commonmarkFix pendingUBUNTU-CVE-2026-71488
Ubuntu 26.10markdownFix pendingUBUNTU-CVE-2026-71488
Ubuntu 26.04commonmarkUnder investigationUBUNTU-CVE-2026-71488
Ubuntu 26.04markdownUnder investigationUBUNTU-CVE-2026-71488
Ubuntu 24.04commonmarkUnder investigationUBUNTU-CVE-2026-71488
Ubuntu 24.04markdownUnder investigationUBUNTU-CVE-2026-71488
Ubuntu 22.04commonmarkUnder investigationUBUNTU-CVE-2026-71488
Ubuntu 22.04markdownUnder investigationUBUNTU-CVE-2026-71488
Ubuntu 20.04markdownFix pendingUBUNTU-CVE-2026-71488
Ubuntu 18.04markdownFix pendingUBUNTU-CVE-2026-71488
Ubuntu 16.04markdownFix pendingUBUNTU-CVE-2026-71488
Debian 14php-league-commonmarkFixed2.9.0-1DEBIAN-CVE-2026-71488
Debian 13php-league-commonmarkFix pendingDEBIAN-CVE-2026-71488
Debian 12php-league-commonmarkFix pendingDEBIAN-CVE-2026-71488
Packagist libraryleague/commonmarkFixed2.9.0GHSA-2q4p-g7hv-5rgv

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.