php-league-commonmark — security advisory
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.
- Products
- php-league-commonmark
- Affected versions
- 1.1.2-1, 1.2.0-1, 1.3.0-1, 1.3.1-1, 1.3.1-1ubuntu2, 1.3.1-1ubuntu2+esm1, 1.5.7-2build1, 1.6.6-1build1, 1.6.7-1, 1.6.7-1ubuntu0.1~esm1, 2.10.0-1, 2.3.9-1, 2.4.1-1, 2.4.2-1, 2.4.2-2, 2.4.2-2ubuntu0.1~esm1, 2.7.0-1, 2.7.1-2, 2.8.0-1, 2.8.2-2, 2.8.3-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-105830
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:54 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-105830
php-league-commonmark
Fixed versions: Not specified
php-league-commonmark
Fixed versions: Not specified
php-league-commonmark
Fixed versions: Not specified
php-league-commonmark
Fixed versions: Not specified
php-league-commonmark
Fixed versions: Not specified
Complete source record
{
"id": "f5666b48ba714849cfa1c6a20deb53058bf3f0ce453f05ad2b23fc5f53f6e96b",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-105830",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-105830",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-105830",
"products": [
{
"name": {
"value": "php-league-commonmark",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.2.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.1-1ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.1-1ubuntu2+esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "php-league-commonmark",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.7-2build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.6-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.7-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.7-1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "php-league-commonmark",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.9-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.4.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.4.2-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.4.2-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.4.2-2ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "php-league-commonmark",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.8.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.8.2-2",
"evidence": "/affected/3/versions"
},
{
"value": "2.8.3-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.10.0-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "php-league-commonmark",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.7.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.7.1-2",
"evidence": "/affected/4/versions"
},
{
"value": "2.8.0-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-105830",
"aliases": [
"UBUNTU-CVE-2026-105830"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "php-league-commonmark",
"purl": "pkg:deb/ubuntu/php-league-commonmark?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1.1.2-1",
"1.2.0-1",
"1.3.0-1",
"1.3.1-1",
"1.3.1-1ubuntu2",
"1.3.1-1ubuntu2+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105830.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-league-commonmark",
"binary_version": "1.3.1-1ubuntu2+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "php-league-commonmark",
"purl": "pkg:deb/ubuntu/php-league-commonmark?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"1.5.7-2build1",
"1.6.6-1build1",
"1.6.7-1",
"1.6.7-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105830.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-league-commonmark",
"binary_version": "1.6.7-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "php-league-commonmark",
"purl": "pkg:deb/ubuntu/php-league-commonmark?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"2.3.9-1",
"2.4.1-1",
"2.4.2-1",
"2.4.2-2",
"2.4.2-2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105830.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-league-commonmark",
"binary_version": "2.4.2-2ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "php-league-commonmark",
"purl": "pkg:deb/ubuntu/php-league-commonmark?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.8.0-1",
"2.8.2-2",
"2.8.3-1",
"2.10.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105830.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-league-commonmark",
"binary_version": "2.10.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "php-league-commonmark",
"purl": "pkg:deb/ubuntu/php-league-commonmark?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.7.0-1",
"2.7.1-2",
"2.8.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105830.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-league-commonmark",
"binary_version": "2.8.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:59:47.594885795Z",
"provider": "osv",
"upstream": [
"CVE-2026-105830"
],
"references": [
"https://ubuntu.com/security/CVE-2026-105830",
"https://www.cve.org/CVERecord?id=CVE-2026-105830",
"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"
]
},
"related_cves": [
{
"value": "CVE-2026-105830",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 359777,
"published_at": "2026-10-08T15:17:00+00:00"
}