CVE-2024-58382 Details
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.
A denial-of-service vulnerability has been identified in League CommonMark versions prior to 2.6.0. This issue arises from polynomial time complexity vulnerabilities in Markdown parsing, allowing attackers to cause resource exhaustion. By submitting carefully crafted Markdown inputs that trigger worst-case performance, and sending multiple requests in parallel, attackers can exhaust CPU resources and PHP-FPM processes, disrupting service for legitimate users.
Users are advised to upgrade to League CommonMark version 2.6.0 or later. If an upgrade is not possible, consider setting low PHP memory limits and maximum execution times, implementing rate-limiting or bot protection, limiting input sizes, and restricting library use to trusted users.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 9, 2026CISA-ADP
Assessed Sep 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| league/commonmark | < 2.6.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 9, 2026 | CVE Modified | CISA-ADP |
| Sep 9, 2026 | New CVE Received | [email protected] |
Volerion