CVE-2024-58382 PUBLISHED

league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity

Assigner: VulnCheck
Reserved: 16.08.2026 Published: 09.09.2026 Updated: 09.09.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.

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor thephpleague
Product commonmark
Versions Default: unaffected
  • affected from 0 to 2.6.0 (excl.)
  • Version 2.6.0 is unaffected

References

Problem Types

  • Inefficient Algorithmic Complexity CWE