CVE-2026-105830league/commonmark 2.0.0 before 2.10.2 Quadratic DoS via TableStartParser
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
Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | php-league-commonmark | Fix pending | UBUNTU-CVE-2026-105830 | |
| Ubuntu 26.04 | php-league-commonmark | Under investigation | UBUNTU-CVE-2026-105830 | |
| Ubuntu 24.04 | php-league-commonmark | Fix pending | UBUNTU-CVE-2026-105830 | |
| Ubuntu 22.04 | php-league-commonmark | Fix pending | UBUNTU-CVE-2026-105830 | |
| Ubuntu 20.04 | php-league-commonmark | Fix pending | UBUNTU-CVE-2026-105830 | |
| Debian 14 | php-league-commonmark | Fixed | 2.10.3-1 | DEBIAN-CVE-2026-105830 |
| Debian 13 | php-league-commonmark | Fix pending | DEBIAN-CVE-2026-105830 | |
| Debian 12 | php-league-commonmark | Fix pending | DEBIAN-CVE-2026-105830 | |
| Packagist library | league/commonmark | Fixed | 2.10.2 | GHSA-3q6v-r5mr-hxv8 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- thephpleague commonmark: affected: 2.0.0 to before 2.10.2, 2.10.2 not affected; fixed in
2.10.2
Vendor advisories:
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-3q6v-r5mr-hxv8 (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.