Skip to main content

league/commonmark EUVDEUVD-2026-95017

| CVE-2026-105830 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-10-08 VulnCheck GHSA-84wr-wccg-f5hp
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint rendering untrusted Markdown
  2. Delivery
    Submit large paragraph of pipe-free non-letter lines
  3. Exploit
    TableStartParser rescans full buffer per line
  4. Execution
    Quadratic strpos work exhausts worker CPU
  5. Persist
    Repeat requests to exhaust all PHP workers
  6. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application convert attacker-supplied Markdown with the GitHub Flavored Markdown Table extension enabled - specifically GithubFlavoredMarkdownConverter or any configuration that registers TableExtension (the default GFM bundle enables it). The malicious input must be a single large paragraph composed of many non-blank, pipe-free lines that do not begin with a letter, so the paragraph buffer keeps growing and TableStartParser::tryStart() rescans it on every line. Limiting factors: applications that do not render untrusted Markdown, do not enable the Table extension, or impose input-size caps, request timeouts, or CPU/worker limits significantly reduce or neutralize the impact; no authentication or user interaction is required (PR:N/UI:N) against affected versions 2.0.0 through 2.10.1.

Impact

This is a genuine availability-only risk whose priority is moderate-to-high in exposed deployments but not a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) correctly reflects that any internet-facing service rendering untrusted Markdown with the Table extension can be attacked remotely, without authentication or user interaction, with low complexity - the only impact is VA:H (availability), with VC:N/VI:N confirming no data confidentiality or integrity exposure (consistent with CWE-400 resource exhaustion). No EPSS score, CISA KEV listing, or published proof-of-concept exploit code is present in the provided data, so there is no evidence of active exploitation or automated weaponization; the signals are therefore internally consistent rather than conflicting. The practical severity is tempered by the fact that the attack produces CPU exhaustion of PHP worker processes rather than remote code execution or data compromise, and realistic impact depends on whether the affected application exposes untrusted Markdown conversion and lacks request-size/time limits. In short: a real, credible DoS worth patching promptly given the wide deployment of league/commonmark, but not a confirmed-in-the-wild critical demanding emergency out-of-band response.

Exploit ScenarioDerived

An attacker submits a single large Markdown payload - a multi-line paragraph of pipe-free lines that do not begin with a letter - to a web endpoint that renders untrusted Markdown via GithubFlavoredMarkdownConverter or any config enabling the Table extension. Each non-blank line triggers a full-buffer strpos scan for a pipe, producing O(M^2) work that burns seconds to tens of seconds of single-core CPU per request. Repeated requests exhaust PHP worker processes and deny service; no public exploit code is identified, though the advisory describes the triggering input in detail.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Quadratic-time denial of service in league/commonmark 2.0.0 through 2.10.1 lets unauthenticated remote attackers exhaust PHP worker CPU by submitting a single large Markdown paragraph made of pipe-free lines that do not begin with a letter, which forces the GitHub Flavored Markdown Table extension's TableStartParser::tryStart() to rescan the entire growing paragraph buffer on every line. Successfully exploited, this drives seconds to tens of seconds of single-core CPU per request that scales with the square of the input size, enough to saturate worker pools and deny service to other users. No authentication or user interaction is required (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), and no public exploit code was identified at time of analysis, though the attack is trivially derived from the published advisory; impact is limited to availability with no confidentiality or integrity effect, and only applications that render untrusted Markdown with the Table extension enabled are affected.

RemediationAI

Vendor-released patch: upgrade to league/commonmark 2.10.2 (Composer: require league/commonmark:^2.10.2 or run composer update league/commonmark), which contains the upstream fix commit 5f63680a5e29dd57f9c6be9743b0e90493d3c2d0; see the GitHub advisory GHSA-3q6v-r5mr-hxv8. If an immediate upgrade is not possible, the most effective compensating control is to stop rendering untrusted Markdown with the table extension: remove TableExtension from the environment/converter configuration or avoid GithubFlavoredMarkdownConverter for user-supplied content, accepting the loss of GFM table rendering as the trade-off. Additionally, enforce a hard maximum input length (for example a few kilobytes per Markdown body) before handing content to the parser, since attack cost grows with the square of body size and a strict cap collapses the quadratic term into a trivial constant; this can truncate legitimate large documents. Also apply PHP-FPM worker/CPU limits, request timeouts, and per-client rate limiting so a single abusive request cannot monopolize the worker pool, though these bound rather than eliminate the per-request CPU burn and may reject or slow legitimate traffic. Because no authentication is required (PR:N), network-level access control to Markdown-rendering endpoints is only partially mitigating and should not be relied upon alone.

Affected VersionsENISA

commonmark 2.0.0 <2.10.2

Affected Packages

composer league/commonmark fix: 2.10.2
euvd commonmark fix: 2.10.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic algorithmic-complexity resource exhaustion issue (CWE-400, uncontrolled resource consumption) in the PHP library league/commonmark, a widely used CommonMark parser that underpins Markdown rendering in many PHP frameworks and CMSes. When the GitHub Flavored Markdown bundle is used (the default GFM configuration registers TableExtension), TableStartParser is registered as a block-start parser, and the core MarkdownParser (src/Parser/MarkdownParser.php lines ~135-147 and ~224-236) invokes TableStartParser::tryStart() on every non-blank line while a paragraph is the active block. In src/Extension/Table/TableStartParser.php:35-38, the parser calls $parserState->getParagraphContent() to retrieve the full accumulated paragraph buffer and runs strpos($paragraph, '|') across all of it; because ReferenceParser.php:89-95 appends each incoming line to that buffer, the scan at line k covers roughly k lines, giving total work of 1+2+...+M, i.e. O(M^2). Only the paragraph's final line can ever become a table header, so scanning the whole multi-line buffer on every line is unnecessary, and no input-size cap or default nesting limit bounds the scan. The CPE string cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:* identifies the affected PHP package distributed via Composer as composer/league/commonmark. CVSS 4.0 scores the vector 8.7 with AV:N/AC:L/AT:N/PR:N/UI:N and high availability impact only, consistent with the independent 3.1 assessment of AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Know when Commonmark gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Remote, unauthenticated, low-complexity submission of untrusted Markdown with no user interaction; impact is CPU/worker exhaustion only, so availability-only (A:H) with no confidentiality or integrity effect and unchanged scope.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 08, 2026 - 16:18 EUVD
CVE Published
Oct 08, 2026 - 14:10 cve.org
HIGH 8.7

DescriptionCVE.org

league/commonmark from 2.0.0 before 2.10.2 contains a quadratic-time denial of service vulnerability in the GitHub Flavored Markdown Table extension's TableStartParser::tryStart() block-start scan. Unauthenticated attackers can submit a large paragraph of pipe-free lines not starting with letters, forcing repeated full-buffer strpos scans that exhaust PHP worker CPU.

Technical POC Analysis

CWE-400 (Uncontrolled Resource Consumption), additionally tagged CWE-407 (Inefficient Algorithmic Complexity) in the advisory.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity denial-of-service vulnerability in the league/commonmark PHP library (versions 2.0.0-2.10.1) allows unauthenticated attackers to exhaust server CPU by submitting specially crafted Markdown, potentially disrupting services for all users. Applications that render untrusted Markdown with the GitHub Flavored Markdown Table extension enabled are at risk. Leadership should prioritize mitigation because a single request can degrade or deny service, affecting availability and user trust.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable the GitHub Flavored Markdown Table extension if not essential; if required, enforce strict input size limits (maximum paragraph length and line count) and rate limiting; deploy WAF rules to block oversized Markdown payloads; monitor CPU usage for anomalies; and apply a vendor patch as soon as it becomes available.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
High
league/commonmark is a very widely used PHP Markdown parsing library
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2019-10010 MEDIUM POC
6.1 Mar 24

Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library before 0.18.3 allows remote attackers to i

CVE-2018-20583 MEDIUM POC
6.1 Dec 30

Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library versions 0.15.6 through 0.18.x before 0.18

CVE-2026-86434 HIGH
8.7 Sep 07

Quadratic CPU exhaustion in league/commonmark 2.0.0-2.8.3 allows unauthenticated remote attackers to deny service by sub

CVE-2026-86433 HIGH
8.7 Sep 07

Quadratic-time algorithmic complexity in league/commonmark's Attributes extension exposes PHP applications to remote den

CVE-2026-86429 HIGH
8.7 Sep 07

Quadratic parsing complexity in league/commonmark (thephpleague/commonmark, versions ≥1.5.0 and <2.9.1) allows unauthent

CVE-2026-86430 HIGH
8.7 Sep 07

Three independent super-linear parsing paths in league/commonmark before 2.9.1 allow unauthenticated remote attackers to

CVE-2026-86435 HIGH
8.7 Sep 07

Quadratic-blowup denial of service in league/commonmark's Footnote extension allows remote unauthenticated attackers to

CVE-2026-86428 HIGH
8.7 Sep 07

Quadratic CPU exhaustion in league/commonmark's optional AttributesExtension (versions 1.5.0 through 2.9.2) allows unaut

CVE-2026-86432 MEDIUM
6.9 Sep 07

Quadratic memory and output amplification in league/commonmark's XmlRenderer affects all 2.x releases from 2.0.0 through

CVE-2026-86431 MEDIUM
6.9 Sep 07

Cross-site scripting in league/commonmark 2.7.0-2.9.0 allows unauthenticated attackers to inject arbitrary JavaScript in

CVE-2026-30838 MEDIUM
6.1 Mar 07

The DisallowedRawHtml extension in PHP Commonmark (league/commonmark) versions prior to 2.8.1 can be bypassed by injecti

CVE-2026-105829 MEDIUM
5.3 Oct 08

Stored cross-site scripting in league/commonmark from 1.3.0 through 2.10.1 lets any user who can post Markdown bypass th

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy