{"id":"CVE-2024-58382","state":"PUBLISHED","title":"league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity","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.","publishedAt":"2026-09-09T13:31:56.196Z","updatedAt":"2026-10-08T15:21:13.339Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["thephpleague commonmark"],"affected":[{"vendor":"thephpleague","product":"commonmark","packageURL":"pkg:composer/league/commonmark","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.6.0","versionType":"semver"},{"version":"2.6.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf","https://www.vulncheck.com/advisories/league-commonmark-before-2.6.0-denial-of-service-via-quadratic-complexity"],"weaknesses":["CWE-407"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/58xxx/CVE-2024-58382.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-58382","state":"PUBLISHED","datePublished":"2026-09-09T13:31:56.196Z","dateUpdated":"2026-10-08T15:21:13.339Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-16T13:02:14.691Z"},"containers":{"cna":{"title":"league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity","descriptions":[{"lang":"en","value":"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":[{"vendor":"thephpleague","product":"commonmark","packageURL":"pkg:composer/league/commonmark","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.6.0","versionType":"semver"},{"version":"2.6.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-c2pc-g5qf-rfrf)"},{"url":"https://www.vulncheck.com/advisories/league-commonmark-before-2.6.0-denial-of-service-via-quadratic-complexity","name":"VulnCheck Advisory: league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","lang":"en","description":"Inefficient Algorithmic Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-08T15:21:13.339Z"},"datePublic":"2024-12-07T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:*","versionEndExcluding":"2.6.0"}]}]}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-09T14:53:50.482623Z","id":"CVE-2024-58382","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-09T14:54:53.318Z"}}]}}}