Algorithmic Complexity Affecting php-league-commonmark package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.63% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PHPLEAGUECOMMONMARK-18612366
  • published11 Aug 2026
  • disclosed6 Aug 2026

Introduced: 6 Aug 2026

CVE-2026-71488  (opens in a new tab)
CWE-407  (opens in a new tab)
CWE-1050  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest php-league-commonmark.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-league-commonmark package and not the php-league-commonmark package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.