Skip to main content
CVE-2024-58382VulnerabilityPublished 09/09/2026Updated 10/08/2026

CVE-2024-58382: Inefficient Algorithmic Complexity in thephpleague commonmark

Affects thephpleague commonmarkSource CVE Database V5

0

Not known to be exploited · CVSS 8.7 High · fixed in 2.6.0 : patch thephpleague commonmark soon.

Data as of 10/25/2026, 04:40:09 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
Exploitation

Not in CISA KEV, no exploitation reported

EPSS
0.2% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.6.0
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

What to do

Affected software

ProductAffectedFixed in
thephpleaguecommonmarkAffected
  • <2.6.0
Fixed in
  • 2.6.0
Packagistleague/commonmarkpkg:composer/league/commonmarkOther threatsAffected
  • <2.6.0
Fixed in
  • 2.6.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in version 2.6.0. Users should upgrade to version 2.6.0 or later to remediate this vulnerability. No vendor advisory content was provided, so patch status is inferred from the version information. Patch status is confirmed by the version range indicating affected versions are prior to 2.6.0.

Description

CVE-2024-58382 is a high-severity vulnerability in thephpleague commonmark versions before 2.6.0. It involves inefficient algorithmic complexity in Markdown parsing, allowing attackers to cause denial of service by submitting specially crafted Markdown inputs that trigger worst-case polynomial time performance. This can exhaust CPU resources and PHP-FPM processes when multiple requests are sent in parallel.

Impact

Successful exploitation results in denial of service by exhausting CPU resources and PHP-FPM processes, potentially disrupting availability of applications using affected versions of thephpleague commonmark.

References

Community reviews

Loading reviews…