PyPI
CVE-2026-141598
wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()
- Severity
- High 8.2
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Fixed in
- 13.0
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
wcmatchPyPI · osv:PyPI:wcmatch |
|
About wcmatch
Vulnerabilities in wcmatch
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-132276wcmatch: Polynomial-time ReDoS when matching untrusted names against multi-star patterns (default flags)Medium 5.9 20 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-141598