# CVE-2026-118764: minimatch: potential denial of service via globparts amplification

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-10-29T17:07:11.357Z
- Modified: 2026-11-04T17:01:25.850Z
- Also known as: GHSA-g3hv-75wg-m249
- Weaknesses: CWE-405
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- isaacs minimatch: >= 7.0.0, < 11.0.1
- minimatch (npm): from 7.0.0 before 11.0.1

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249> (web)
- <https://github.com/isaacs/minimatch/commit/297b6c1a01f2410b3ba1ebed14ba222d0c3c1033> (web)
- <https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8> (web)
- <https://github.com/isaacs/minimatch/commit/fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da> (web)
- <https://github.com/isaacs/minimatch/releases/tag/v11.0.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-118764> (advisory)
- <https://github.com/isaacs/minimatch> (package)

## Sources

- CVE List: [CVE-2026-118764](https://www.cve.org/CVERecord?id=CVE-2026-118764), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-g3hv-75wg-m249](https://github.com/advisories/GHSA-g3hv-75wg-m249), CC-BY-4.0, modified 2026-11-04
- NVD: [CVE-2026-118764](https://nvd.nist.gov/vuln/detail/CVE-2026-118764), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-118764 · Whole record: https://cve.day/CVE-2026-118764.json · Rebuilt by cve.day 2026-11-25T22:59:47.813Z
