CVE-2026-141598
HIGH 8.2CVSS 4.0wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-1333
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | HIGH 8.2 | 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 |
| NVD | disclosure@vulncheck.com (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | facelessuser | wcmatch | < 13.0 | 13.0 |
References
- https://github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.py#L245-L247 · technical-description
- https://github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e · patch
- https://github.com/facelessuser/wcmatch/releases/tag/13.0 · release-notes
- https://github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52 · vendor-advisory
- https://www.vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-handle-star · third-party-advisory
History
- 2 Dec 2026 03:17 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 01:35 UTC · CVE List: first stored (published 2 Dec 2026)