CVE-2026-71488

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.
Configurations

No configuration.

History

23 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) league/commonmark es una biblioteca PHP para analizar y renderizar CommonMark Markdown. Desde la versión 0.6.0 hasta la 2.9.0, líneas Markdown especialmente diseñadas pueden hacer que el analizador tenga una complejidad de tiempo cuadrática al convertir, porque varias rutas de análisis vuelven a escanear repetidamente porciones crecientes de una línea para traducir entre posiciones de caracteres y posiciones de bytes, y la extensión Autolink también puede copiar y validar la línea restante en cada prefijo similar a una URL, permitiendo a un atacante que puede enviar Markdown para su conversión consumir un tiempo de CPU desproporcionado con una solicitud comparativamente pequeña. Este problema se ha solucionado en la versión 2.9.0.

Information

Published : 2026-08-06 22:18

Updated : 2026-10-24 15:10


NVD link : CVE-2026-71488

Mitre link : CVE-2026-71488

CVE.ORG link : CVE-2026-71488


JSON object : View

Products Affected

No product.

CWE
CWE-407

Inefficient Algorithmic Complexity

CWE-1050

Excessive Platform Resource Consumption within a Loop