ubuntu-cve-2026-26996
Vulnerability from osv_ubuntu
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions 10.2.0 and below are vulnerable to Regular Expression Denial of Service (ReDoS) when a glob pattern contains many consecutive * wildcards followed by a literal character that doesn't appear in the test string. Each * compiles to a separate [^/]*? regex group, and when the match fails, V8's regex engine backtracks exponentially across all possible splits. The time complexity is O(4^N) where N is the number of * characters. With N=15, a single minimatch() call takes ~2 seconds. With N=34, it hangs effectively forever. Any application that passes user-controlled strings to minimatch() as the pattern argument is vulnerable to DoS. This issue has been fixed in version 10.2.1.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-minimatch",
"binary_version": "0.2.12-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "node-minimatch",
"purl": "pkg:deb/ubuntu/node-minimatch@0.2.12-1ubuntu0.1~esm2?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.11-1",
"0.2.12-1",
"0.2.12-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-minimatch",
"binary_version": "1.0.0-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "node-minimatch",
"purl": "pkg:deb/ubuntu/node-minimatch@1.0.0-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.0-1",
"1.0.0-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-minimatch",
"binary_version": "3.0.4-3+deb10u1build0.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "node-minimatch",
"purl": "pkg:deb/ubuntu/node-minimatch@3.0.4-3+deb10u1build0.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.4-1",
"3.0.4-3",
"3.0.4-3+deb10u1build0.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-minimatch",
"binary_version": "3.0.4-4ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "node-minimatch",
"purl": "pkg:deb/ubuntu/node-minimatch@3.0.4-4ubuntu0.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.4-3",
"3.0.4-4",
"3.0.4-4ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-minimatch",
"binary_version": "3.1.1+~3.0.5-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "node-minimatch",
"purl": "pkg:deb/ubuntu/node-minimatch@3.1.1+~3.0.5-1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.4+~3.0.3-1",
"3.0.4+~3.0.5-1",
"3.1.1+~3.0.5-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-minimatch",
"binary_version": "9.0.3-4build5"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "node-minimatch",
"purl": "pkg:deb/ubuntu/node-minimatch@9.0.3-4build5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.1.1+~5.1.2-1",
"9.0.3-4build5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-minimatch",
"binary_version": "9.0.3-6"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "node-minimatch",
"purl": "pkg:deb/ubuntu/node-minimatch@9.0.3-6?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.0.3-5",
"9.0.3-6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-minimatch",
"binary_version": "9.0.3-6"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "node-minimatch",
"purl": "pkg:deb/ubuntu/node-minimatch@9.0.3-6?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.0.3-6"
]
}
],
"aliases": [],
"details": "minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions 10.2.0 and below are vulnerable to Regular Expression Denial of Service (ReDoS) when a glob pattern contains many consecutive * wildcards followed by a literal character that doesn\u0027t appear in the test string. Each * compiles to a separate [^/]*? regex group, and when the match fails, V8\u0027s regex engine backtracks exponentially across all possible splits. The time complexity is O(4^N) where N is the number of * characters. With N=15, a single minimatch() call takes ~2 seconds. With N=34, it hangs effectively forever. Any application that passes user-controlled strings to minimatch() as the pattern argument is vulnerable to DoS. This issue has been fixed in version 10.2.1.",
"id": "UBUNTU-CVE-2026-26996",
"modified": "2026-05-20T15:26:06Z",
"published": "2026-02-20T03:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-26996"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-26996"
},
{
"type": "REPORT",
"url": "https://github.com/isaacs/minimatch/security/advisories/GHSA-3ppc-4f35-3m26"
},
{
"type": "REPORT",
"url": "https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"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": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-26996"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.