CVE catalog

CVE-2026-86429

The league/commonmark (thephpleague/commonmark) library in versions >= 1.5.0 and < 2.9.1 contains quadratic parsing complexity in its SmartPunctExtension and AttributesExtension. When either extension

[CVE catalog]

Severity
High · CVSS 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.52% · Oct 25, 2026

The league/commonmark (thephpleague/commonmark) library in versions >= 1.5.0 and < 2.9.1 contains quadratic parsing complexity in its SmartPunctExtension and AttributesExtension. When either extension is explicitly registered on the Environment (they are not enabled by default and are excluded from the standard CommonMark and GitHub-Flavored Markdown converters), an unauthenticated attacker can submit small, specially crafted Markdown documents — such as text alternating with unpaired quotes, contiguous runs of block-level attribute blocks, or repeated class attributes — to trigger disproportionate CPU consumption and cause a denial of service. Fixed in 2.9.1.

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
CpecommonmarkNot reported2.9.1fixed
Ubuntuphp-league-commonmarkpro2.3.9-1vulnerable
Ubuntuphp-league-commonmarkpro2.4.1-1vulnerable
Ubuntuphp-league-commonmarkpro2.4.2-1vulnerable
Ubuntuphp-league-commonmarkpro2.4.2-2vulnerable
Ubuntuphp-league-commonmarkpro2.4.2-2ubuntu0.1~esm1vulnerable
Ubuntuphp-league-commonmark26.042.7.0-1vulnerable
Ubuntuphp-league-commonmark26.042.7.1-2vulnerable
Ubuntuphp-league-commonmark26.042.8.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-league-commonmarksourcesid2.10.0-1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourceforky2.10.0-1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpecommonmarkcpeNot reported2.9.1Not reportedNVD-CVE-2026-86429Not reported

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