DEBIAN-CVE-2026-27904
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.4, nested `*()` extglobs produce regexps with nested unbounded quantifiers (e.g. `(?:(?:a|b)*)*`), which exhibit catastrophic backtracking in V8. With a 12-byte pattern `*(*(*(a|b)))` and an 18-byte non-matching input, `minimatch()` stalls for over 7 seconds. Adding a single nesting level or a few input characters pushes this to minutes. This is the most severe finding: it is triggered by the default `minimatch()` API with no special options, and the minimum viable pattern is only 12 bytes. The same issue affects `+()` extglobs equally. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.4 fix the issue.
DEBIAN-CVE-2026-27904
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-27904
node-minimatch
Source reference: /affected/0/package/name
- Affected versions
- 5.1.1+~5.1.2-1
Source reference:
/affected/0/versions9.0.3-1Source reference:
/affected/0/versions9.0.3-2Source reference:
/affected/0/versions9.0.3-3Source reference:
/affected/0/versions9.0.3-4Source reference:
/affected/0/versions9.0.3-5Source reference:
/affected/0/versions9.0.3-6Source reference:
/affected/0/versions9.0.7-1Source reference:
/affected/0/versions9.0.7-2Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-minimatch
Source reference: /affected/1/package/name
- Affected versions
- 9.0.3-6
Source reference:
/affected/1/versions9.0.7-1Source reference:
/affected/1/versions9.0.7-2Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-minimatch
Source reference: /affected/2/package/name
- Affected versions
- 9.0.3-6
Source reference:
/affected/2/versions - Fixed versions
- 9.0.7-1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-minimatch",
"purl": "pkg:deb/debian/node-minimatch?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"5.1.1+~5.1.2-1",
"9.0.3-1",
"9.0.3-2",
"9.0.3-3",
"9.0.3-4",
"9.0.3-5",
"9.0.3-6",
"9.0.7-1",
"9.0.7-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-27904.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-minimatch",
"purl": "pkg:deb/debian/node-minimatch?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"9.0.3-6",
"9.0.7-1",
"9.0.7-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-27904.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "9.0.7-1"
}
]
}
],
"package": {
"name": "node-minimatch",
"purl": "pkg:deb/debian/node-minimatch?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"9.0.3-6"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-27904.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56325 · Revision 1
- Added to Heist Feed
- Publisher date