Bug 2579635 (CVE-2026-132276) - CVE-2026-132276 wcmatch: wcmatch: Denial of Service via excessive backtracking in multi-wildcard pattern matching
Summary: CVE-2026-132276 wcmatch: wcmatch: Denial of Service via excessive backtrackin...
Keywords:
Status: NEW
Alias: CVE-2026-132276
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-20 19:59 UTC by OSIDB Bzimport
Modified: 2026-11-24 18:40 UTC (History)
40 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.