{"id":"ghsa-ghsa-hqmv-qgp3-jx75","seq":12154389,"kind":"advisory","title":"minimatch: Global pattern cache retains large expansions, enabling memory exhaustion","url":"https://github.com/advisories/GHSA-hqmv-qgp3-jx75","permalink":"https://vulnpulse.app/items/ghsa-ghsa-hqmv-qgp3-jx75","summary":"影響: npm:minimatch >= 11.0.3, <= 11.0.7 → 11.0.8\nminimatch 11.0.3 through 11.0.7 retain the 256 most recent compiled Minimatch objects in a module-level cache. The cache is bounded only by entry count; each object can retain up to 100,000 expanded pattern rows. An application that passes untrusted, unique patterns to the top-level minimatch() function can therefore be terminated with a few very small inputs. Root cause Commit 52d2aecceb71dae7f1b19675e74e044eb472c1e6 changed minimatch() to store each compiled object in a 256-entry Map. The key…","severity":"medium","cvss":null,"techs":["nodejs"],"cves":["CVE-2026-140007"],"tags":["GHSA-hqmv-qgp3-jx75","minimatch"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-01T18:05:29.000Z","fetched_at":"2026-12-01T21:20:51.440Z"}