CVE-2026-132276

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.
Configurations

No configuration.

History

20 Nov 2026, 20:17

Type Values Removed Values Added
References () https://github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf - () https://github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf -

20 Nov 2026, 17:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-20 17:18

Updated : 2026-11-20 20:17


NVD link : CVE-2026-132276

Mitre link : CVE-2026-132276

CVE.ORG link : CVE-2026-132276


JSON object : View

Products Affected

No product.

CWE
CWE-1333

Inefficient Regular Expression Complexity