CVE catalog

CVE-2026-71488

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 c

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.63% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphp-league-commonmarksid2.10.4-1fixed
Debianphp-league-commonmarkforky2.10.4-1fixed
Debianphp-league-commonmarktrixie2.7.0-1+deb13u1vulnerable
Debianphp-league-commonmarkbookworm2.3.9-1+deb12u1vulnerable
Composerleague/commonmarkNot reported2.9.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-league-commonmarksourcesid2.9.0-1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourceforky2.9.0-1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourcebookworm(unfixed)not yet assignedNot reportedNot reported
Composerleague/commonmarkcomposerNot reported2.9.0Not reportedNot reportedNot reported

Notes

[trixie] php-league-commonmark: Minor issue [bookworm] php-league-commonmark: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.3.9-1+deb12u1 · all · bookworm

      Affected

      nvd · php-league-commonmark · debian · bookworm; nvd · php-league-commonmark · debian · 12

    • 2.3.9-1+deb12u1 · all · bookworm

      Affected

      nvd · php-league-commonmark · debian · bookworm; nvd · php-league-commonmark · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 2.7.0-1+deb13u1 · all · trixie

      Affected

      nvd · php-league-commonmark · debian · 13

    • 2.7.0-1+deb13u1 · all · trixie

      Affected

      nvd · php-league-commonmark · debian · 13

Observed:

References