Vulnerability in Thephpleague Commonmark
CVE-2024-58382
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.003 (19.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 19.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf (vendor-advisory)
- www.vulncheck.com/advisories/league-commonmark-before-2.6.0-denial-of-service-v… (third-party-advisory)
Frequently asked questions
- What is CVE-2024-58382?
- CVE-2024-58382 is a high-severity vulnerability in Thephpleague Commonmark, classified under Inefficient Algorithmic Complexity. CVSS score: 7.5/10. Published 2026-09-09.
- How severe is CVE-2024-58382?
- High severity. CVSS v3 base score is 7.5 out of 10.