
CVE catalog
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 M
- Severity
- High · CVSS 8.7
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.49% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-league-commonmark | sid | 2.10.4-1 | fixed |
| Debian | php-league-commonmark | forky | 2.10.4-1 | fixed |
| Debian | php-league-commonmark | trixie | 2.7.0-1+deb13u1 | fixed |
| Debian | php-league-commonmark | bookworm | 2.3.9-1+deb12u1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php-league-commonmark | source | sid | 2.6.0-1 | not yet assigned | Not reported | Not reported |
| Debian | php-league-commonmark | source | forky | 2.6.0-1 | not yet assigned | Not reported | Not reported |
| Debian | php-league-commonmark | source | trixie | 2.6.0-1 | not yet assigned | Not reported | Not reported |
| Debian | php-league-commonmark | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[bookworm] php-league-commonmark: Minor issue, DoS
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [php-league-commonmark]Affected
Details (2)
2.3.9-1+deb12u1· all · bookwormAffected
nvd · php-league-commonmark · debian · bookworm; nvd · php-league-commonmark · debian · 12
2.3.9-1+deb12u1· all · bookwormAffected
nvd · php-league-commonmark · debian · bookworm; nvd · php-league-commonmark · debian · 12
[Debian 13 (Trixie)]
- [php-league-commonmark]Fixed
Details (2)
2.7.0-1+deb13u1· all · trixieFixed · Fixed:
2.6.0-1nvd · php-league-commonmark · debian · 13
2.7.0-1+deb13u1· all · trixieFixed · Fixed:
2.6.0-1nvd · php-league-commonmark · debian · 13
Observed:
References
- [https://github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf]
- [https://nvd.nist.gov/vuln/detail/CVE-2024-58382]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-58382]
- [https://security-tracker.debian.org/tracker/CVE-2024-58382]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-58382.json]
- [https://www.vulncheck.com/advisories/league-commonmark-before-2.6.0-denial-of-service-via-quadratic-complexity]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]