CVE-2024-58382
league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.488% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.7 · published by VulnCheckCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:22.026Z
CVSS 3.1 · 7.5 · published by VulnCheckCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:57:22.026Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:22.026Z | CVE Program |
| epss | verified | 2026-11-19T16:04:39.514Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:36.038Z | OSV |
| affected | verified | 2026-11-19T12:57:22.026Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:22.026Z | CVE Program |
Affected versions and configuration
thephpleague commonmark; default status: unaffected: 0 to < 2.6.0 [affected; scheme: semver]; 2.6.0 [unaffected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "thephpleague",
"product": "commonmark",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "2.6.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "2.6.0",
"versionType": "semver"
}
],
"packageURL": "pkg:composer/league/commonmark",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-58382",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-09T14:53:50.482623Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-09T14:54:53.318Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-c2pc-g5qf-rfrf",
"aliases": [
"CVE-2024-58382"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.0"
}
]
}
],
"package": {
"name": "league/commonmark",
"purl": "pkg:composer/league/commonmark",
"ecosystem": "Packagist"
},
"versions": [
"0.1.0",
"0.1.1",
"0.1.2",
"0.10.0",
"0.11.0",
"0.11.1",
"0.11.2",
"0.11.3",
"0.12.0",
"0.13.0",
"0.13.1",
"0.13.2",
"0.13.3",
"0.13.4",
"0.14.0",
"0.15.0",
"0.15.1",
"0.15.2",
"0.15.3",
"0.15.4",
"0.15.5",
"0.15.6",
"0.15.7",
"0.16.0",
"0.17.0",
"0.17.1",
"0.17.2",
"0.17.3",
"0.17.4",
"0.17.5",
"0.18.0",
"0.18.1",
"0.18.2",
"0.18.3",
"0.18.4",
"0.18.5",
"0.19.0",
"0.19.1",
"0.19.2",
"0.19.3",
"0.2.0",
"0.2.1",
"0.3.0",
"0.4.0",
"0.5.0",
"0.5.1",
"0.6.0",
"0.6.1",
"0.7.0",
"0.7.1",
"0.7.2",
"0.8.0",
"0.9.0",
"1.0.0",
"1.0.0-beta1",
"1.0.0-beta2",
"1.0.0-beta3",
"1.0.0-beta4",
"1.0.0-rc1",
"1.1.0",
"1.1.1",
"1.1.2",
"1.1.3",
"1.2.0",
"1.2.1",
"1.2.2",
"1.3.0",
"1.3.1",
"1.3.2",
"1.3.3",
"1.3.4",
"1.4.0",
"1.4.1",
"1.4.2",
"1.4.3",
"1.5.0",
"1.5.1",
"1.5.2",
"1.5.3",
"1.5.4",
"1.5.5",
"1.5.6",
"1.5.7",
"1.5.8",
"1.6.0",
"1.6.1",
"1.6.2",
"1.6.3",
"1.6.4",
"1.6.5",
"1.6.6",
"1.6.7",
"2.0.0",
"2.0.0-beta1",
"2.0.0-beta2",
"2.0.0-beta3",
"2.0.0-rc1",
"2.0.0-rc2",
"2.0.1",
"2.0.2",
"2.0.3",
"2.0.4",
"2.1.0",
"2.1.1",
"2.1.2",
"2.1.3",
"2.2.0",
"2.2.1",
"2.2.2",
"2.2.3",
"2.2.4",
"2.2.5",
"2.3.0",
"2.3.1",
"2.3.2",
"2.3.3",
"2.3.4",
"2.3.5",
"2.3.6",
"2.3.7",
"2.3.8",
"2.3.9",
"2.4.0",
"2.4.1",
"2.4.2",
"2.4.3",
"2.4.4",
"2.5.0",
"2.5.1",
"2.5.2",
"2.5.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-c2pc-g5qf-rfrf/GHSA-c2pc-g5qf-rfrf.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/github/cmark-gfm/security/advisories/GHSA-24f7-9frr-5h2r",
"type": "WEB"
},
{
"url": "https://github.com/github/cmark-gfm/security/advisories/GHSA-29g3-96g3-jg6c",
"type": "WEB"
},
{
"url": "https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh",
"type": "WEB"
},
{
"url": "https://github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p",
"type": "WEB"
},
{
"url": "https://github.com/github/cmark-gfm/security/advisories/GHSA-r8vr-c48j-fcc5",
"type": "WEB"
},
{
"url": "https://github.com/github/cmark-gfm/security/advisories/GHSA-w4qg-3vf7-m9x5",
"type": "WEB"
},
{
"url": "https://github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf",
"type": "WEB"
},
{
"url": "https://github.com/commonmark/commonmark.js/issues/129",
"type": "WEB"
},
{
"url": "https://github.com/commonmark/commonmark.js/issues/157",
"type": "WEB"
},
{
"url": "https://github.com/commonmark/commonmark.js/issues/172",
"type": "WEB"
},
{
"url": "https://github.com/thephpleague/commonmark",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-407"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2024-12-09T20:42:07Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | league/commonmark | Not a distribution channel | 2.6.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:36.038ZArchived source JSON
Source publication: 2024-12-09T20:42:07.000Z
Source modification: 2026-09-10T03:56:06.190ZDocument fingerprint
0a172730ef394e9ee41ee53616a5f7f927626c621a555502c10a358a3911785b - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:22.026ZArchived source JSON
Source publication: 2026-09-09T13:31:56.196Z
Source modification: 2026-10-08T15:21:13.339ZDocument fingerprint
9cb132197bf5c6874cfd4b5a1cecbc36449b6615b077bcb114af44aebd6ca4f5 - FIRST EPSSConsulted: 2026-11-19T16:04:39.514ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
c07aa8e6fdfc310c84fe1ac9be92e31e56fc57bead56722404a3841425dfa449
Official status history
- UNKNOWN → PUBLISHED · · evidence