wcmatch before 13.0 contains a regular expression denial of service vulnerability that allows attackers to exhaust CPU
Source GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 13.0 soon.
Data as of 2 Dec 2026, 04:31 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.9 |
- Patch
- Available – fixed in 13.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade wcmatch to 13.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| facelessuserwcmatch | Affected
| Fixed in
|
PyPIwcmatchpkg:pypi/wcmatchOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in wcmatch version 13.0 and later. Users should upgrade to version 13.0 or newer to remediate this vulnerability. No other mitigation or workaround information is provided. Since this is a library vulnerability, updating the dependency in affected projects is the recommended action.
Description
wcmatch versions before 13.0 have a regular expression denial of service (ReDoS) vulnerability. This flaw allows attackers to exhaust CPU resources by providing paths with three or more globstar segments to certain matching functions, causing excessive backtracking and high CPU usage. The vulnerability can be triggered by supplying a few kilobytes of non-matching input to glob.globmatch, glob.globfilter, glob.compile matchers, or pathlib.PurePath.globmatch. The issue leads to roughly O(n^k) backtracking, consuming a CPU core for minutes and resulting in denial of service.
References
- github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-141598 (opens in a new tab)
- github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e (opens in a new tab)
- github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.py (opens in a new tab)
- github.com/facelessuser/wcmatch/releases/tag/13.0 (opens in a new tab)
- vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-handle-star (opens in a new tab)