CVE-2026-105830
Received Received - Intake

Denial of Service in CommonMark PHP Library

Vulnerability report for CVE-2026-105830, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-08

Last updated on: 2026-10-08

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-08
Last Modified
2026-10-08
Generated
2026-10-08
AI Q&A
2026-10-08
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
thephpleague commonmark 2.0.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-105830 is a high-severity denial of service vulnerability in the league/commonmark library affecting versions 2.0.0 through 2.10.1. It involves a quadratic-time flaw in the GitHub Flavored Markdown Table extension where attackers submit large paragraphs of pipe-free lines not starting with letters. This forces repeated full-buffer scans via strpos, consuming excessive CPU resources in PHP workers.

Detection Guidance

Monitor CPU usage spikes during Markdown processing. Check for excessive strpos scans in PHP worker logs. Use tools like strace to trace system calls during Markdown parsing. Inspect network traffic for large untrusted Markdown inputs.

Impact Analysis

Unauthenticated attackers can exploit this to exhaust CPU resources in PHP worker processes, causing denial of service. Systems processing untrusted Markdown with GitHub Flavored Markdown converter or Table extension enabled are at risk. The attack requires no privileges or user interaction.

Compliance Impact

This vulnerability primarily causes denial of service by exhausting CPU resources through quadratic-time scanning operations. It does not directly impact data confidentiality or integrity required by standards like GDPR or HIPAA. However, prolonged service disruption could indirectly affect compliance by preventing access to systems handling personal or health data.

Mitigation Strategies

Upgrade league/commonmark to version 2.10.2 or later. Disable the GitHub Flavored Markdown Table extension if not required. Implement rate limiting for Markdown processing endpoints. Monitor for unusual CPU usage patterns.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-105830. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart