llamaCVEVulnerability Intelligence
/
minimatch

CVE-2026-118764

minimatch denial of service via glob pattern amplification

An attacker can send a short crafted glob pattern that exhausts CPU and memory, freezing the application.

UnclearParche disponibledenial of service
Descargar PNG JSON
CVSS 4.0
6.9
Media
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos11 fuente
Parche1 versiónPrimer parche a -2 d de la divulgación
Exposición20 dDesde la divulgación, 29 oct 2026, 12:07 p. m.
Detección9 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 11.0.1
Monitoreo
Detectada +1
Fuente: ENISA EUVD +1
Fuente: PoC-in-GitHub +1
27 oct 26
29 oct 26
30 oct 26
3 nov 26
13 nov 26
19 nov 26
27 oct 26
2 nov 26
8 nov 26
13 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 11.0.1 minimatch · -2 d desde divulgación
Divulgación Publicada CVE-2026-118764 divulgada · CVSS 6.9 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: PoC-in-GitHub Registro visto por primera vez en PoC-in-GitHub
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

The minimatch JavaScript library, a utility that converts glob patterns into regular expressions, is affected when it processes certain glob patterns at higher optimization levels. A specially crafted, short glob pattern can cause excessive CPU and memory use during compilation, which could make an application unresponsive.

Affects minimatch 7.0.0 up to 11.0.1 when optimizationLevel is 2 or higher. Fixed in 11.0.1.

¿Qué significa?A short malicious glob pattern can make minimatch use excessive CPU and memory while compiling the pattern, causing a denial of service.
¿Quién está afectado?The advisory lists minimatch 10.2.6 as affected and says the issue requires optimizationLevel 2 or higher, with affected ranges starting at 7.0.0 and fixed in 11.0.1. To check a setup, look at the installed minimatch version and whether optimizationLevel is set to 2 or higher.
¿Qué hacer?Upgrade minimatch to 11.0.1, the listed fixed version.
Descripción original del registro (GitHub_M)

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Starting in 7.0.0 and prior to 11.0.1, src/index.ts implements firstPhasePreProcess() so that, at optimizationLevel 2 or higher, it repeatedly expands attacker-controlled **/.. pattern segments inside a fixpoint loop, allowing generated globParts entries to be processed and expanded again. secondPhasePreProcess() then compares the expanded entries pairwise, so a short malicious glob can cause excessive CPU and memory consumption during pattern compilation. This issue is fixed in version 11.0.1.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected: minimatch 10.2.6 (fixed in 11.0.1).“minimatch 10.2.6 contains an attacker-controlled pattern amplification”
02
Requires optimizationLevel 2 or higher.“when optimizationLevel >= 2.”
¿Quién debe revisar?Anyone shipping minimatch 10.2.6 (npm) with optimizationLevel 2 or higher, or compiling glob patterns from untrusted input.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:L
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
minimatch≥ 7.0.0 < 11.0.1
7.0.0
11.0.1
11.0.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmminimatch
Corregida 11.0.1 -2 d 11.0.8 no afectada
Versiones corregidas11.0.1
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
b1nv0id/CVE-2026-118764
1
Ver los 1 repositorios de GitHub
b1nv0id/CVE-2026-118764

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249
Exploithttps://github.com/b1nv0id/CVE-2026-118764
Otrahttps://github.com/isaacs/minimatch/commit/297b6c1a01f2410b3ba1ebed14ba222d0c3c1033
Otrahttps://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8
Otrahttps://github.com/isaacs/minimatch/commit/fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da
Otrahttps://github.com/isaacs/minimatch/releases/tag/v11.0.1

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.