CVE-2026-86429 json
commonmark before 2.9.1 Denial of Service via SmartPunct and Attributes
published 2026-09-01 2 mo ago modified 2026-10-08 32 d ago also GHSA-jjv6-8j6v-6j52 , EUVD-2026-72387
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist league/commonmark 2.9.1
- thephpleague commonmark 2.9.1
- php-league-commonmark Debian 14 2.10.0-1
debian advisories DEBIAN-CVE-2026-86429
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 51 d ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 8.7 | CVSS: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 |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | league/commonmark | >=1.5.0, <2.9.1 |
2.9.1 |
Affected products
- thephpleague commonmark
Classification
References
-
github.com
/thephpleague/commonmark/commit/04a5d11ef6bf2d0b927310810d6a2a85d3c184b9
web
-
github.com
/thephpleague/commonmark/commit/2f611b599c51661b005dc45c16ceaa547546e687
web
-
github.com
/thephpleague/commonmark/security/advisories/GHSA-jjv6-8j6v-6j52
vendor-advisory, web, mitigation
-
vulncheck.com
/advisories/commonmark-before-2.9.1-denial-of-service-via-smartpunct-and-attributes
third-party-advisory
-
github.com
/thephpleague/commonmark
package
-
github.com
/thephpleague/commonmark/releases/tag/2.9.1
web
Sources
- CVE List CVE-2026-86429
- GitHub Advisory GHSA-jjv6-8j6v-6j52
- NVD CVE-2026-86429
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.