Picomatch through 4.0.7 ReDoS via single-branch repeated extglob patterns
Picomatch through 4.0.7 contains a regular expression denial of service vulnerability that allows attackers to block the event loop by supplying single-branch repeated extglob patterns. Attackers can provide globs like +(*) or +(*a), which analyzeRepeatedExtglob in lib/parse.js skips, causing exponential backtracking against short crafted strings and denying service to Node.js applications.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-112366
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:45 UTC · Revision 1
Source evidence
Picomatch through 4.0.7 ReDoS via single-branch repeated extglob patterns
core-osv · Original sourcePublished 19 Oct 2026, 15:29 UTC
Picomatch through 4.0.7 contains a regular expression denial of service vulnerability that allows attackers to block the event loop by supplying single-branch repeated extglob patterns. Attackers can provide globs like +(*) or +(*a), which analyzeRepeatedExtglob in lib/parse.js skips, causing exponential backtracking against short crafted strings and denying service to Node.js applications.
osv:CVE-2026-112366
Complete source record
{
"id": "62d13244c6a128f4c9c1624cc6ee2f053544f3cf7e714d36681db584138866b6",
"url": "https://osv.dev/vulnerability/CVE-2026-112366",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Picomatch through 4.0.7 ReDoS via single-branch repeated extglob patterns",
"summary": "Picomatch through 4.0.7 contains a regular expression denial of service vulnerability that allows attackers to block the event loop by supplying single-branch repeated extglob patterns. Attackers can provide globs like +(*) or +(*a), which analyzeRepeatedExtglob in lib/parse.js skips, causing exponential backtracking against short crafted strings and denying service to Node.js applications.",
"evidence": "osv:CVE-2026-112366",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-112366",
"aliases": [
"CVE-2026-112366"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/micromatch/picomatch",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "6bb40679c218cefba5d4e9662408c5fdf699a8bb"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.0.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.0.7"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"4.0.7",
"4.0.6",
"4.0.5",
"4.0.4",
"3.0.1",
"2.3.1",
"4.0.3",
"4.0.2",
"4.0.1",
"3.0.0",
"2.3.0",
"2.2.3",
"2.2.2",
"2.1.0",
"2.0.7",
"2.0.6",
"2.0.5",
"2.0.4",
"2.0.3",
"2.0.2",
"2.0.1",
"2.0.0",
"1.1.2",
"1.1.0",
"1.0.2",
"1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112366.json"
}
}
],
"modified": "2026-10-28T02:30:38.068272104Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112366.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-112366",
"https://www.vulncheck.com/advisories/picomatch-through-4.0.7-redos-via-single-branch-repeated-extglob-patterns",
"https://github.com/micromatch/picomatch/pull/194",
"https://github.com/micromatch/picomatch",
"https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L287-L307"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1333"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112366.json"
}
},
"related_cves": [
{
"value": "CVE-2026-112366",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505444,
"published_at": "2026-10-19T15:29:00.491+00:00"
}