MEDIUM · CVSS 5.9 Published: 2026-12-02
CVE-2026-141598 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-141598 |
|---|---|
| Base Severity / Score | MEDIUM (5.9 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Weakness Classification | CWE-1333 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.py#L245-L247
- https://github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e
- https://github.com/facelessuser/wcmatch/releases/tag/13.0
- https://github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52
- https://www.vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-handle-star
Related Security Advisories
CVE-2026-141597 MEDIUM 4.8
CVE-2026-141599 HIGH 8.3
CVE-2026-141596 MEDIUM 5.9
CVE-2026-141601 MEDIUM 5.3
CVE-2026-16688 MEDIUM 5.3
CVE-2026-142496 MEDIUM 6.5
CVE-2026-142497 MEDIUM 6.5