CVE-2024-58382
published high CVSS 4.0 · 8.7league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| thephpleague | — | commonmark0 to < 2.6.0 (affected · semver) · 2.6.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| thephpleague | commonmark | 0 to < 2.6.0 (affected · semver)2.6.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-407 Inefficient Algorithmic Complexity
References
2- GitHub Security Advisory (GHSA-c2pc-g5qf-rfrf) https://github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf
- VulnCheck Advisory: league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity https://www.vulncheck.com/advisories/league-commonmark-before-2.6.0-denial-of-service-via-quadratic-complexity
Provider assertions
2VulnCheck · cna
league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9cb132197bf5c6874cfd4b5a1cecbc36449b6615b077bcb114af44aebd6ca4f5
- Ingested
- 09 Oct 2026, 16:22:05 UTC
- Source record
- Official CVE record