CVE-2024-58382
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductLeague/commonmark
PublishedSep 9, 2026
First seenSep 9, 2026
Weakness typeCWE-407CWE-407
How to fix
Update
- league/commonmark2.6.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| league/commonmarkPackagist | v < 2.6.0 | 2.6.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.