Skip to main content
← All vulnerabilities
CVE-2024-58382GHSA-C2PC-G5QF-RFRF

league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • thephpleague commonmark

    fixed in 2.6.0

  • league/commonmarkPackagist

    fixed in 2.6.0

References 2

GitHub · thephpleague/commonmark

vulncheck.com