CVE-2024-58382
league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity
- State
- Published
- Severity
- 8.7 High
- Published
- Sep 9, 2026
- Updated
- Oct 8, 2026
- Reserved
- Aug 16, 2026
Description
league/commonmark versions before 2.6.0 contain polynomial time complexity vulnerabilities in Markdown parsing that allow attackers to cause denial of service. Attackers can submit carefully crafted Markdown inputs designed to trigger worst-case performance, and sending multiple requests in parallel exhausts CPU resources and PHP-FPM processes.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-407 Inefficient Algorithmic Complexity
Affected Products
| Product | Versions |
|---|---|
commonmarkthephpleague |
|
References
- GitHub Security Advisory (GHSA-c2pc-g5qf-rfrf)vendor-advisory
- VulnCheck Advisory: league/commonmark before 2.6.0 Denial of Service via Quadratic Complexitythird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.