- Accueil
- Vulnérabilités
- CVE-2026-140007
CVE-2026-140007
minimatch: Global pattern cache retains large expansions, enabling memory exhaustion
Résumé
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.3 until 11.0.8, the top-level minimatch() function stores compiled Minimatch objects in a module-level 256-entry Map whose entries are bounded by count but not by retained expansion weight below the braceExpandMax ceiling. An application that accepts unique attacker-controlled glob patterns can retain objects containing up to 100,000 expanded rows per entry, causing memory exhaustion and process termination; direct construction with new Minimatch() is not affected by this cache behavior. This issue is fixed in version 11.0.8.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Isaacs (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| minimatch | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| minimatch | de 11.0.3 (inclus) à 11.0.8 (exclu) |
11.0.8 |
GitHub Advisory |
Correctif
Mise à jour — npm/minimatch 11.0.8source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-hqmv-qgp3-jx75 — minimatch: Global pattern cache retains large expansions, enabling memory exhaustion 1 déc. 2026
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-400 · Autre (CWE-400)