Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2024-58382

league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

thephpleague commonmark

Default version status: unaffected

  • 0 to < 2.6.0affected
  • 2.6.0unaffected
pkg:composer/league/commonmark

References