Skip to content
OpenAdvisories
High · 8.2 CVE-2026-141598 EUVD-2026-140784GHSA-vvgr-fj3f-x236

wcmatch before 13.0 contains a regular expression denial of service vulnerability that allows attackers to exhaust CPU by matching paths ag…

Published Dec 2, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
facelessuser wcmatch 0 <13.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-wcmatch No fix yet —
Debian 13 python-wcmatch No fix yet —
Debian 12 python-wcmatch No fix yet —

References