CVE-2026-141598
wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()
- Severity
- high CVSS 8.2 (v4.0)
- Affects
- wcmatch · facelessuser
- Weakness
- CWE-1333: Inefficient Regular Expression Complexity
- Published
- 2 December 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.