Algorithmic Complexity Affecting php-league-commonmark package, versions <2.6.0-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.28% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PHPLEAGUECOMMONMARK-19698577
  • published12 Sept 2026
  • disclosed9 Sept 2026

Introduced: 9 Sep 2026

CVE-2024-58382  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Echo:latest php-league-commonmark to version 2.6.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-league-commonmark package and not the php-league-commonmark package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1