Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| facelessuser | wcmatch | < 11.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-wcmatch | No fix yet | — |
| Debian 13 | python-wcmatch | No fix yet | — |
| Debian 12 | python-wcmatch | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-wcmatch | No fix yet | — |
| Ubuntu 26.04 LTS | python-wcmatch | No fix yet | — |
| Ubuntu 24.04 LTS | python-wcmatch | No fix yet | — |
| Ubuntu 22.04 LTS | python-wcmatch | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-wcmatch | 12.0.4-1.1 | openSUSE-SU-2026:12719-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | semgrep | 1.186.0-r6 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
googlesky/CVE-2026-132276 ★ 0 · Nov 21, 2026
wcmatch <=11.1: each '*' becomes lazy .*? — a developer-constant pattern '*_*_*_*_*.csv' backtracks O(n^k) on an attacker-controlled name (255 bytes ~86s vs stdlib <1ms). Real fnmatch 11.1 vs 11.2: p…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | wcmatch | < 11.2 | 11.2 | GHSA-53pm-wgxf-c6qf |
Advisories 1
- openSUSE-SU-2026:12719-1 python313-wcmatch-12.0.4-1.1 on GA media SUSE / openSUSE Security Updates · Nov 28, 2026