{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "fixed": "11.0.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "297b6c1a01f2410b3ba1ebed14ba222d0c3c1033"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v11.0.1",
                "range": [
                  {
                    "fixed": "47afe882784638ccdee8d30e0b7516aed2b589a9"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "ce9e6a4b42eb8a4c39eff1258affa9d37c66101b"
            },
            {
              "fixed": "47afe882784638ccdee8d30e0b7516aed2b589a9"
            },
            {
              "fixed": "297b6c1a01f2410b3ba1ebed14ba222d0c3c1033"
            },
            {
              "fixed": "77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8"
            },
            {
              "fixed": "fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da"
            }
          ],
          "repo": "https://github.com/isaacs/minimatch",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g3hv-75wg-m249"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-405"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118764.json"
  },
  "details": "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.",
  "id": "CVE-2026-118764",
  "modified": "2026-11-11T10:31:07.555090400Z",
  "published": "2026-10-29T17:07:11.357Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/isaacs/minimatch/releases/tag/v11.0.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118764.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118764"
    },
    {
      "type": "FIX",
      "url": "https://github.com/isaacs/minimatch/commit/297b6c1a01f2410b3ba1ebed14ba222d0c3c1033"
    },
    {
      "type": "FIX",
      "url": "https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/isaacs/minimatch/commit/fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "minimatch: potential denial of service via globparts amplification"
}