#1155145 python-wcmatch: CVE-2026-132276

Package:
src:python-wcmatch
Source:
src:python-wcmatch
Submitter:
Moritz Mühlenhoff
Date:
2026-11-24 19:59:04 UTC
Severity:
normal
Tags:
#1155145#5
Date:
2026-11-24 19:07:35 UTC
From:
To:
Hi,

The following vulnerability was published for python-wcmatch.

CVE-2026-132276[0]:
| 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.

https://github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf
https://github.com/facelessuser/wcmatch/commit/83491aadde57780330f993620083e979f645c80c (11.2)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-132276
https://www.cve.org/CVERecord?id=CVE-2026-132276

Please adjust the affected versions in the BTS as needed.