# CVE-2026-71488: league/commonmark: Quadratic-time denial of service when parsing crafted Markdown

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-08-06T20:37:17.488Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-2q4p-g7hv-5rgv
- Weaknesses: CWE-407, CWE-1050
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 0.6.0 until 2.9.0, specially crafted Markdown lines can cause the parser to have quadratic time complexity when converting, because several parsing paths repeatedly rescan growing portions of a line to translate between character positions and byte positions, and the Autolink extension can also copy and validate the remaining line at every URL-like prefix, allowing an attacker who can submit Markdown for conversion to consume disproportionate CPU time with a comparatively small request. This issue is fixed in 2.9.0.

(As written by CVE List.)

## Affected

- thephpleague commonmark: >= 0.6.0, < 2.9.0
- league/commonmark (Packagist): from 0.6.0 before 2.9.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/thephpleague/commonmark/security/advisories/GHSA-2q4p-g7hv-5rgv> (web)
- <https://github.com/thephpleague/commonmark/commit/a6ef6cdc308dfa39a34239c35818e75892a0e6a8> (web)
- <https://github.com/thephpleague/commonmark/commit/a70979ea0d7d3377bd7127536748454a922bf5eb> (web)
- <https://github.com/thephpleague/commonmark/commit/c97b02e5e652b992033b93ba5d6182f706343fc6> (web)
- <https://github.com/thephpleague/commonmark/releases/tag/2.9.0> (web)
- <https://github.com/thephpleague/commonmark> (package)

## Sources

- CVE List: [CVE-2026-71488](https://www.cve.org/CVERecord?id=CVE-2026-71488), CVE Terms of Use, modified 2026-08-07
- GitHub Advisory Database: [GHSA-2q4p-g7hv-5rgv](https://github.com/advisories/GHSA-2q4p-g7hv-5rgv), CC-BY-4.0, modified 2026-08-21
- NVD: [CVE-2026-71488](https://nvd.nist.gov/vuln/detail/CVE-2026-71488), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71488 · Whole record: https://cve.day/CVE-2026-71488.json · Rebuilt by cve.day 2026-11-25T22:59:31.814Z
