# CVE-2026-86429: commonmark before 2.9.1 Denial of Service via SmartPunct and Attributes

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-09-01T20:21:45.000Z
- Modified: 2026-10-08T16:17:57.003Z
- Also known as: GHSA-jjv6-8j6v-6j52
- Weaknesses: CWE-407, CWE-1050
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- thephpleague commonmark: from 1.5.0 before 2.9.1 (not affected: 2.9.1)
- league/commonmark (Packagist): from 1.5.0 before 2.9.1

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-86429](https://www.cve.org/CVERecord?id=CVE-2026-86429), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-jjv6-8j6v-6j52](https://github.com/advisories/GHSA-jjv6-8j6v-6j52), CC-BY-4.0, modified 2026-09-08
- NVD: [CVE-2026-86429](https://nvd.nist.gov/vuln/detail/CVE-2026-86429), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-86429 · Whole record: https://cve.day/CVE-2026-86429.json · Rebuilt by cve.day 2026-11-25T22:59:36.528Z
