CVE-2026-86429
HIGH 8.7CVSS 4.0league/commonmark: Denial of service in the SmartPunct and Attributes extensions
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.
- Published
- 7 Sep 2026
- Last modified
- 8 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-1050CWE-407
- Also known as
- GHSA-jjv6-8j6v-6j52
- Sources
- NVDJSONOSV GHSA-jjv6-8j6v-6j52JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | thephpleague | commonmarkcpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:* |
>= 1.5.0, < 2.9.1 | 2.9.1 |
| OSV | Packagist | league/commonmark | >= 1.5.0, < 2.9.1 | 2.9.1 |
References
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-jjv6-8j6v-6j52 · Mitigation, Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/commonmark-before-2.9.1-denial-of-service-via-smartpunct-and-attributes · Third Party Advisory
- https://github.com/thephpleague/commonmark/commit/04a5d11ef6bf2d0b927310810d6a2a85d3c184b9 · WEB
- https://github.com/thephpleague/commonmark/commit/2f611b599c51661b005dc45c16ceaa547546e687 · WEB
- https://github.com/thephpleague/commonmark · PACKAGE
- https://github.com/thephpleague/commonmark/releases/tag/2.9.1 · WEB
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 7 Sep 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Sep 2026)