{"id":"CVE-2026-141598","summary":"wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()","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.","aliases":["GHSA-5fhc-4v76-7q52"],"modified":"2026-12-02T03:00:10.546731568Z","published":"2026-12-02T01:08:15.923Z","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":[{"source":"DESCRIPTION","range":[{"fixed":"13.0"}]}]}]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/facelessuser/wcmatch","events":[{"introduced":"0"},{"fixed":"fffd25336b52b19fa75dcea21f4b8c179c735e0e"},{"fixed":"c9ef7e740346cae30168bcbb6adf5718562d506c"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"fffd25336b52b19fa75dcea21f4b8c179c735e0e"}]},{"range":[{"fixed":"c9ef7e740346cae30168bcbb6adf5718562d506c"}],"source":"REFERENCES_TAG","original_tag":"13.0"}]}}],"versions":["12.0.4","12.0.3","12.0.2","12.0.1","12.0","11.2","11.1","11.0.1","11.0","10.2.1","10.2","10.1","10.0","9.0","8.5.2","8.5.1","8.5","8.4.1","8.4","8.3","8.2","8.1.2","8.1.1","8.1","8.0.1","8.0","7.2","7.1","7.0.1","7.0","6.1","6.0.3","6.0.2","6.0.1","6.0.0","5.1.0","5.0.3","5.0.2","5.0.1","5.0.0","4.3.1","4.3.0","4.2.0","4.1.0","4.0.1","4.0.0","3.0.2","3.0.1","3.0.0","2.2.1","2.2.0","2.1.0","2.0.3","2.0.2","2.0.1","2.0.0","1.0.2","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141598.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}