Skip to main content

CVE-2026-105830: Uncontrolled Resource Consumption in thephpleague commonmark

0
High
VulnerabilityCVE-2026-105830cvecve-2026-105830
Published: 10/08/2026 (10/08/2026, 14:10:31 UTC)
Source: CVE Database V5
Vendor/Project: thephpleague
Product: commonmark

Description

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

thephpleague

commonmark

Affected versions
>=2.0.0 <2.10.2
Packagistmore threats →ai
thephpleague/commonmark
pkg:composer/thephpleague/commonmark
Affected versions
>=2.0.0 <2.10.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/08/2026, 14:35:29 UTC

Technical Analysis

Thephpleague commonmark library versions >=2.0.0 and <2.10.2 contain a quadratic-time denial of service vulnerability in the GitHub Flavored Markdown Table extension. Specifically, the TableStartParser::tryStart() method performs a block-start scan that can be forced into repeated full-buffer strpos operations by unauthenticated attackers submitting large paragraphs of pipe-free lines not starting with letters. This results in uncontrolled CPU resource consumption, potentially exhausting PHP worker CPU resources.

Potential Impact

An unauthenticated attacker can cause a denial of service by exhausting CPU resources on the server running the vulnerable commonmark library. This can degrade or disrupt service availability due to high CPU usage caused by the quadratic-time processing of crafted input.

Mitigation Recommendations

A fix is available in version 2.10.2 of thephpleague commonmark. Users should upgrade to version 2.10.2 or later to remediate this vulnerability. Patch status is confirmed by the version range indicating fixed in 2.10.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-05T21:59:09.591Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac7a6672cdf04f6561df638

Added to database: 10/08/2026, 14:19:19 UTC

Last enriched: 10/08/2026, 14:35:29 UTC

Last updated: 10/08/2026, 17:36:25 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses