Medium severity5.9NVD Advisory· Published Dec 2, 2026
CVE-2026-141598
CVE-2026-141598
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 products
1- Range: <13.0
Patches
Vulnerability mechanics
References
5- github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.pynvd
- github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0envd
- github.com/facelessuser/wcmatch/releases/tag/13.0nvd
- github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52nvd
- www.vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-handle-starnvd
News mentions
0No linked articles in our index yet.