Skip to content
OpenAdvisories
High · 7.5 CVE-2024-58382 EUVD-2024-55755GHSA-c2pc-g5qf-rfrfGHSA-fv22-86fq-c33q

league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity

Published Sep 9, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
thephpleague commonmark < 2.6.0 2.6.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 php-league-commonmark 2.6.0-1 —
Debian 13 php-league-commonmark 2.6.0-1 —
Debian 12 php-league-commonmark No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS php-league-commonmark No fix yet —
Ubuntu Pro 22.04 LTS php-league-commonmark No fix yet —
Ubuntu Pro 20.04 LTS php-league-commonmark No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist league/commonmark < 2.6.0 2.6.0 GHSA-c2pc-g5qf-rfrf

References