CVE-2026-86429
Security vulnerability in commonmark
How to Fix This Vulnerability
No fixed version has been published yet. Apply the mitigations below.
Remediation Steps
- 1Review and audit affected systems for potential exploitation
- 2Implement additional security controls if immediate patching is not possible
- 3Monitor for suspicious activity related to this vulnerability
Mitigation Strategies
- Network SegmentationHigh
Isolate affected systems from untrusted networks until patching is complete
- Monitoring and DetectionMedium
Implement enhanced monitoring for exploitation attempts and unusual behavior
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.
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. This vulnerability involves weaknesses in
Impact Assessment
This high-severity vulnerability could allow attackers to gain unauthorized access, execute arbitrary code, or compromise data integrity. Prompt remediation is strongly recommended.
Attack Characteristics
- Attack Vector
- NETWORK
- Complexity
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
CVSS v3.1 Metrics Breakdown
- attack Vector
- NETWORK
- attack Complexity
- LOW
- privileges Required
- NONE
- user Interaction
- NONE
- scope
- Unchanged
- confidentiality Impact
- High
- integrity Impact
- High
- availability Impact
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HVulnerability Timeline
- 0001-01-01T00:00:00ZVulnerability publishedpublished