What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: thephpleague commonmark 2.10.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-105830 or the next vulnerability affects your stack