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.

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.

Affected products

Weakness classification (CWE)

References

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.