CVE-2026-140008
Hoch 8,7 PoC auf GitHubminimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`)
- CVSS
- 8,7 (v4.0)
- Angriffswahrscheinlichkeit (EPSS)
- 0,84 % (höher als 58,9 % aller Lücken)
- Veröffentlicht
- 30.11.2026
- Zuletzt geändert
- 01.12.2026
Öffentlicher Angriffscode
Ein Proof of Concept auf GitHub, darunter googlesky/CVE-2026-140008. Ungeprüft: solche Repositories enthalten manchmal selbst Schadcode.
Beschreibung
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while iterating each wildcard position, causing quadratic compilation time for long wildcard-only path patterns even when only one row exists. An attacker who can supply uncached patterns to new Minimatch or another compiling entry point can block the JavaScript event loop and cause a denial of service, with brace-generated rows further multiplying the work. This issue is fixed in version 11.0.7.
Betroffene Pakete
| Paket | Betroffen | Behoben in |
|---|---|---|
| npm minimatch | ab 11.0.0 vor 11.0.7 | 11.0.7 |
Quellen
Weitere Kennungen
GHSA-cf2h-pxjq-68xw · CWE-407
Sind Ihre Projekte betroffen?
Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.