CVE-2026-26996
CVE-2026-26996 · minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.7 · Élevée · EPSS 0,6% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system · node
Produits et versions concernés
minimatch
- Versions du logiciel
- < 10.2.1: Concernée
Aucun correctif publié
node-minimatch Debian:12
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Debian:13
- Versions du logiciel
- 9.0.3-6
- 9.0.7-1
- 9.0.7-2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Debian:14
- Versions du logiciel
- 9.0.3-6
- Plages de versions concernées
- ECOSYSTEM: < 9.0.7-1
Mettez à jour vers 9.0.7-1
minimatch npm
- Plages de versions concernées
- SEMVER: ≥ 10.0.0, < 10.2.1
Mettez à jour vers 10.2.1
minimatch npm
- Plages de versions concernées
- SEMVER: ≥ 9.0.0, < 9.0.6
Mettez à jour vers 9.0.6
minimatch npm
- Plages de versions concernées
- SEMVER: ≥ 8.0.0, < 8.0.5
Mettez à jour vers 8.0.5
minimatch npm
- Plages de versions concernées
- SEMVER: ≥ 7.0.0, < 7.4.7
Mettez à jour vers 7.4.7
minimatch npm
- Plages de versions concernées
- SEMVER: ≥ 6.0.0, < 6.2.1
Mettez à jour vers 6.2.1
minimatch npm
- Plages de versions concernées
- SEMVER: ≥ 5.0.0, < 5.1.7
Mettez à jour vers 5.1.7
minimatch npm
- Plages de versions concernées
- SEMVER: ≥ 4.0.0, < 4.2.4
Mettez à jour vers 4.2.4
minimatch npm
- Plages de versions concernées
- SEMVER: < 3.1.3
Mettez à jour vers 3.1.3
node-minimatch Ubuntu:Pro:14.04:LTS
- Versions du logiciel
- 0.2.11-1
- 0.2.12-1
- 0.2.12-1ubuntu0.1~esm2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Ubuntu:Pro:16.04:LTS
- Versions du logiciel
- 1.0.0-1
- 1.0.0-1ubuntu0.1~esm2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Ubuntu:18.04:LTS
- Versions du logiciel
- 3.0.4-1
- 3.0.4-3
- 3.0.4-3+deb10u1build0.18.04.1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Ubuntu:20.04:LTS
- Versions du logiciel
- 3.0.4-3
- 3.0.4-4
- 3.0.4-4ubuntu0.1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Ubuntu:22.04:LTS
- Versions du logiciel
- 3.0.4+~3.0.3-1
- 3.0.4+~3.0.5-1
- 3.1.1+~3.0.5-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Ubuntu:24.04:LTS
- Versions du logiciel
- 5.1.1+~5.1.2-1
- 9.0.3-4build5
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Ubuntu:25.10
- Versions du logiciel
- 9.0.3-5
- 9.0.3-6
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Ubuntu:26.10
- Versions du logiciel
- 9.0.3-6
- 9.0.7-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
node-minimatch Ubuntu:26.04:LTS
- Versions du logiciel
- 9.0.3-6
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié