Inefficient Algorithmic Complexity Affecting league/commonmark package, versions >=2.0.0, <2.10.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.37% (29th 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 Learn

Learn about Inefficient Algorithmic Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-LEAGUECOMMONMARK-20875274
  • published13 Oct 2026
  • disclosed30 Sept 2026
  • creditmanus-pi

Introduced: 30 Sep 2026

NewCVE-2026-105830  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade league/commonmark to version 2.10.2 or higher.

Overview

league/commonmark is a PHP-based Markdown parser which supports the full CommonMark spec. It is based on the CommonMark JS reference implementation.

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the TableStartParser::tryStart function. An attacker can exhaust CPU resources and disrupt service availability by submitting a large paragraph of pipe-free, blank-line-free lines that do not begin with a letter to any service that processes untrusted Markdown with the relevant converter or configuration.

CVSS Base Scores

version 4.0
version 3.1