Vulnerability

CVE-2026-71488

highCVSS 3.1 7.5Published 6 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /thephpleague/commonmark/commit/a6ef6cdc308dfa39a34239c3581…
  • github.com /thephpleague/commonmark/commit/a70979ea0d7d3377bd712753674…
  • github.com /thephpleague/commonmark/commit/c97b02e5e652b992033b93ba5d6…
  • github.com /thephpleague/commonmark/releases/tag/2.9.0
  • github.com /thephpleague/commonmark/security/advisories/GHSA-2q4p-g7hv…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning