Regular expression denial of service in wcmatch globstar matching
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1333.
Summary
wcmatch before 13.0 contains a regular expression denial of service flaw in its pattern matching, classified as CWE-1333. An attacker can supply a few kilobytes of non-matching path to glob.globmatch, glob.globfilter, glob.compile matchers or pathlib.PurePath.globmatch, and patterns with three or more globstar segments cause roughly O(n^k) backtracking that can keep a CPU core busy for minutes. The CVSS 4.0 vector shows the attack is remote and needs no privileges or user interaction, with the impact limited to availability.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| facelessuser | wcmatch | before 13.0 | 13.0 | Patch available | CNA |
- wcmatch Vendorfacelessuser Affected before 13.0 Fixed in 13.0 Patch available CNA
Remediation
Upgrade wcmatch to version 13.0 or later, which is the first fixed version listed for the affected package.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA wcmatch (facelessuser) Fixed in 13.0
Timeline
- 2026-12-02 Threatist record created from CVE-2026-141598
- 2026-12-02 Alias added: GHSA-vvgr-fj3f-x236
References
More facelessuser vulnerabilities
- TI-2026-90415 Soup Sieve exponential ReDoS in selector compilation via \9-run CVSS 3.1HIGH 7.5
- TI-2026-47703 pymdown-extensions: Exponential-backtracking ReDoS in caret, tilde, betterem, and magiclink inline processors CVSS 3.1HIGH 7.5
- TI-2026-36631 Soup Sieve: Regular Expression Denial of Service (ReDoS) in soupsieve Selector Parser CVSS 3.1HIGH 7.5
- TI-2026-36630 Soup Sieve: Memory Exhaustion via Large Comma-Separated Selector Lists in soupsieve CVSS 3.1HIGH 7.5
- TI-2023-15603 Arbitrary file inclusion with the pymdowm-snippets extension CVSS 3.1HIGH 7.5
- TI-2026-90424 Uncontrolled recursion in Soup Sieve CSS parser CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-141598 · CVE Program
- CVE-2026-141598 · NVD
- GHSA-vvgr-fj3f-x236 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences