Bug 2588349 (CVE-2026-141598)

Summary: CVE-2026-141598 wcmatch: wcmatch: Denial of Service via inefficient pattern matching with globstar segments
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anpicker, cahl, ehelms, hasun, jfula, jlanda, jmitchel, jowilson, jpasqual, juwatts, kshier, lblicha, ljawale, mattdavi, mclay, mhulan, msilmser, nyancey, ogajduse, ometelka, osousa, ptisnovs, rbobbitt, rchan, simaishi, sivel, smallamp, stcannon, syedriko, tguha, xdharmai, yguenane, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in wcmatch. A remote attacker can exploit this vulnerability by submitting specially crafted input paths to pattern-matching functions that handle multiple globstar wildcard segments. This triggers excessive processing and CPU consumption, resulting in a Denial of Service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-02 01:31:49 UTC
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.