{"id":"CVE-2026-141598","aliases":["CVE-2026-141598"],"related":[],"kind":"vulnerability","state":"published","title":"wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-12-02T01:08:15.923Z","modified":"2026-12-02T02:17:43.200Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"13.0","status":"affected"}],"vendor":"facelessuser","product":"wcmatch","repo":"https://github.com/facelessuser/wcmatch","source":"cvelist"}],"references":[{"url":"https://github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/facelessuser/wcmatch/releases/tag/13.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.py#L245-L247","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-handle-star","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Genius Wallaby","msoltanov","facelessuser"],"assigner":"VulnCheck","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-141598","url":"https://www.cve.org/CVERecord?id=CVE-2026-141598","licence":"CVE Terms of Use","modified":"2026-12-02T01:08:15.923Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-141598","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141598","licence":"Public domain","modified":"2026-12-02T02:17:43.200Z"}],"updatedAt":"2026-12-02T02:32:32.838Z"}