CVE catalog

CVE-2024-58382

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 M

[CVE catalog]

Severity
High · CVSS 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.49% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphp-league-commonmarksid2.10.4-1fixed
Debianphp-league-commonmarkforky2.10.4-1fixed
Debianphp-league-commonmarktrixie2.7.0-1+deb13u1fixed
Debianphp-league-commonmarkbookworm2.3.9-1+deb12u1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-league-commonmarksourcesid2.6.0-1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourceforky2.6.0-1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourcetrixie2.6.0-1not yet assignedNot reportedNot reported
Debianphp-league-commonmarksourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[bookworm] php-league-commonmark: Minor issue, DoS

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.3.9-1+deb12u1 · all · bookworm

      Affected

      nvd · php-league-commonmark · debian · bookworm; nvd · php-league-commonmark · debian · 12

    • 2.3.9-1+deb12u1 · all · bookworm

      Affected

      nvd · php-league-commonmark · debian · bookworm; nvd · php-league-commonmark · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 2.7.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.6.0-1

      nvd · php-league-commonmark · debian · 13

    • 2.7.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.6.0-1

      nvd · php-league-commonmark · debian · 13

Observed:

References