{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "fffd25336b52b19fa75dcea21f4b8c179c735e0e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "13.0",
                "range": [
                  {
                    "fixed": "c9ef7e740346cae30168bcbb6adf5718562d506c"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "fffd25336b52b19fa75dcea21f4b8c179c735e0e"
            },
            {
              "fixed": "c9ef7e740346cae30168bcbb6adf5718562d506c"
            }
          ],
          "repo": "https://github.com/facelessuser/wcmatch",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5fhc-4v76-7q52"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-1333"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141598.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "13.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "13.0"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "wcmatch before 13.0 contains a regular expression denial of service vulnerability that allows attackers to exhaust CPU by matching paths against patterns with three or more globstar segments. Attackers can supply a few KB of non-matching path to glob.globmatch, glob.globfilter, glob.compile matchers or pathlib.PurePath.globmatch, triggering roughly O(n^k) backtracking that consumes a CPU core for minutes.",
  "id": "CVE-2026-141598",
  "modified": "2026-12-02T02:45:33.987221351Z",
  "published": "2026-12-02T01:08:15.923Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141598.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/facelessuser/wcmatch"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.py#L245-L247"
    },
    {
      "type": "FIX",
      "url": "https://github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/facelessuser/wcmatch/releases/tag/13.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-141598"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-handle-star"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()"
}