{"id":"CVE-2026-118764","state":"PUBLISHED","title":"minimatch: potential denial of service via globparts amplification","description":"minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. 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.","publishedAt":"2026-10-29T17:07:11.357Z","updatedAt":"2026-10-30T23:09:45.690Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["isaacs minimatch"],"affected":[{"vendor":"isaacs","product":"minimatch","versions":[{"version":"< 11.0.1","status":"affected"}]}],"references":["https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249","https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8","https://github.com/isaacs/minimatch/releases/tag/v11.0.1"],"weaknesses":["CWE-405"],"ingestedAt":"2026-10-30T23:16:06.451Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118764.json","commit":"686c5ae4909cf40b7b1ead79b06a0a41423872d0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118764","state":"PUBLISHED","datePublished":"2026-10-29T17:07:11.357Z","dateUpdated":"2026-10-30T23:09:45.690Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-28T19:20:05.017Z"},"containers":{"cna":{"title":"minimatch: potential denial of service via globparts amplification","descriptions":[{"lang":"en","value":"minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. 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."}],"affected":[{"vendor":"isaacs","product":"minimatch","versions":[{"version":"< 11.0.1","status":"affected"}]}],"references":[{"url":"https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249","name":"https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8","name":"https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8","tags":["x_refsource_MISC"]},{"url":"https://github.com/isaacs/minimatch/releases/tag/v11.0.1","name":"https://github.com/isaacs/minimatch/releases/tag/v11.0.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-405","lang":"en","description":"CWE-405: Asymmetric Resource Consumption (Amplification)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-30T23:09:45.690Z"},"source":{"advisory":"GHSA-g3hv-75wg-m249","discovery":"UNKNOWN"}}}}}