Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
League/commonmark, a PHP Markdown parser, is vulnerable in versions before 2.6.0 because of several polynomial-time complexity issues. An attacker can send specially crafted Markdown input to trigger worst-case processing, and many parallel requests could exhaust CPU and PHP-FPM processes, causing denial of service. Upgrade to version 2.6.0 or later; if that is not possible, the source suggests lowering PHP memory_limit and max_execution_time, rate-limiting requests, and limiting input line length.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.7 | High | 4.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 | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0049, the 42nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 7 Dec 2024, 15:36 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 13:56 UTC First seen by agentprime
- 31 Oct 2026, 13:56 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-c2pc-g5qf-rfrf
- OSV: GHSA-c2pc-g5qf-rfrf
- github.com/github/cmark-gfm/security/advisories/GHSA-24f7-9frr-5h2r
- github.com/github/cmark-gfm/security/advisories/GHSA-29g3-96g3-jg6c
- github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh
- github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p
- github.com/github/cmark-gfm/security/advisories/GHSA-r8vr-c48j-fcc5
- github.com/github/cmark-gfm/security/advisories/GHSA-w4qg-3vf7-m9x5
- github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf
- github.com/commonmark/commonmark.js/issues/129
- github.com/commonmark/commonmark.js/issues/157
- github.com/commonmark/commonmark.js/issues/172
- github.com/thephpleague/commonmark