CVE-2026-86428
7.5The PHP League · commonmark
A denial of service vulnerability exists in the commonmark AttributesExtension due to inefficient algorithmic complexity during attribute processing.
Executive summary
The PHP League commonmark library is vulnerable to a denial of service attack that allows unauthenticated attackers to exhaust CPU resources via maliciously crafted Markdown input.
Vulnerability
This vulnerability, categorized as CWE-407, involves inefficient algorithmic complexity in the AttributesExtension: specifically, processing distinctly-named attributes causes quadratic-time merging that consumes excessive CPU. The attack is unauthenticated and requires no user interaction to trigger.
Business impact
Successful exploitation leads to a denial of service, which can render web applications relying on this library unresponsive. Given the CVSS score of 7.5, this high-severity flaw poses a significant risk to availability, potentially disrupting critical business operations and degrading the performance of services that process user-generated Markdown content.
Remediation
Immediate Action: Update the league/commonmark package to version 2.10.0 or later to incorporate the performance optimization fix.
Proactive Monitoring: Monitor server CPU utilization and error logs for spikes or process hangs associated with high-frequency Markdown parsing requests.
Compensating Controls: Implement rate limiting or request size restrictions on endpoints that accept Markdown input to mitigate the impact of potential resource exhaustion attempts.
Exploitation status
Public Exploit Available: No (exploit_available: false)
Analyst recommendation
Organizations utilizing the league/commonmark library should prioritize the update to version 2.10.0 immediately. Because this vulnerability targets a fundamental processing function, it is critical to address this issue before it is weaponized in the wild to prevent potential application outages.
More The PHP League CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section
Sources
Originally found and disclosed by manus-use, per the CVE Program record.
- GitHub Security Advisory (GHSA-8rr7-cvq3-gmfh) Vendor advisory
- VulnCheck Advisory: commonmark 1.5.0 before 2.10.0 Denial of Service via Attributes Third-party advisory