Bug 2579635 (CVE-2026-132276)

Summary: CVE-2026-132276 wcmatch: wcmatch: Denial of Service via excessive backtracking in multi-wildcard pattern matching
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anpicker, cahl, dymurray, ehelms, hasun, ibolton, jfula, jlanda, jmatthew, jmitchel, jmontleo, jowilson, jpasqual, juwatts, kshier, lblicha, ljawale, mattdavi, mclay, mhulan, msilmser, nyancey, ogajduse, ometelka, osousa, pgaikwad, ptisnovs, rbobbitt, rchan, simaishi, sivel, slucidi, smallamp, sseago, 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. When an application matches an attacker-controlled input string against a pattern containing multiple star wildcards, the underlying pattern parsing logic experiences inefficient backtracking. An attacker can exploit this vulnerability by supplying a crafted, non-matching name, resulting in prolonged CPU consumption and leading to 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-11-20 19:59:17 UTC
wcmatch is a Python library for wildcard file-name matching. Prior to 11.2, under the default flags, matching a non-matching attacker-controlled name against an application-supplied pattern containing several star wildcards separated by literals makes the lazy .? and [^/]? segments, including _STAR and _PATH_STAR emitted by _handle_star() in wcmatch/_wcparse.py, backtrack across possible splits, so a single comparison can consume prolonged CPU time. The pattern remains a developer-controlled constant and only the name is attacker-controlled; affected paths include fnmatch.fnmatch(), glob.globmatch(), and filesystem glob scans where another user can create names, without enabling extglob or any non-default flag. This issue is fixed in 11.2.