# CVE-2026-141598: wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-02T01:08:15.923Z
- Modified: 2026-12-02T02:17:43.200Z
- Weaknesses: CWE-1333
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- facelessuser wcmatch: before 13.0

## Every score

- VulnCheck: CVSS:4.0 8.2 High `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`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52> (vendor-advisory)
- <https://github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e> (patch)
- <https://github.com/facelessuser/wcmatch/releases/tag/13.0> (release-notes)
- <https://github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.py#L245-L247> (technical-description)
- <https://www.vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-handle-star> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-141598](https://www.cve.org/CVERecord?id=CVE-2026-141598), CVE Terms of Use, modified 2026-12-02
- NVD: [CVE-2026-141598](https://nvd.nist.gov/vuln/detail/CVE-2026-141598), Public domain, modified 2026-12-02

---

Page: https://cve.day/CVE-2026-141598 · Whole record: https://cve.day/CVE-2026-141598.json · Rebuilt by cve.day 2026-12-02T02:32:32.838Z
