CVE-2026-86429commonmark before 2.9.1 Denial of Service via SmartPunct and Attributes
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | php-league-commonmark | Under investigation | UBUNTU-CVE-2026-86429 | |
| Ubuntu 24.04 | php-league-commonmark | Fix pending | UBUNTU-CVE-2026-86429 | |
| Ubuntu 22.04 | php-league-commonmark | Fix pending | UBUNTU-CVE-2026-86429 | |
| Ubuntu 20.04 | php-league-commonmark | Fix pending | UBUNTU-CVE-2026-86429 | |
| Debian 14 | php-league-commonmark | Fixed | 2.10.0-1 | DEBIAN-CVE-2026-86429 |
| Debian 13 | php-league-commonmark | Fix pending | DEBIAN-CVE-2026-86429 | |
| Debian 12 | php-league-commonmark | Fix pending | DEBIAN-CVE-2026-86429 | |
| Packagist library | league/commonmark | Fixed | 2.9.1 | GHSA-jjv6-8j6v-6j52 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- thephpleague commonmark: affected: 1.5.0 to before 2.9.1, 2.9.1 not affected; fixed in
2.9.1
Vendor advisories:
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-jjv6-8j6v-6j52 (vendor-advisory)
References
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-jjv6-8j6v-6j52
- https://www.vulncheck.com/advisories/commonmark-before-2.9.1-denial-of-service-via-smartpunct-and-attributes
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.