Skip to main content
← All vulnerabilities
CVE-2026-86429GHSA-JJV6-8J6V-6J52

commonmark before 2.9.1 Denial of Service via SmartPunct and Attributes

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.9.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • thephpleague commonmark

    From 1.5.0 · fixed in 2.9.1

  • league/commonmarkPackagist

    From 1.5.0 · fixed in 2.9.1

References 2

GitHub · thephpleague/commonmark

vulncheck.com