PT-2026-153056
CVE-2026-132276
·
Published
2026-11-20
·
Updated
2026-11-27
Description by
CVSS 3.1
5.9
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
wcmatch versions prior to 11.2
Description
When using default flags, matching an attacker-controlled name against a pattern containing multiple star wildcards separated by literals can lead to excessive CPU consumption. This occurs because the lazy segments
STAR and PATH STAR emitted by the handle star() function in wcmatch/ wcparse.py cause the regex engine to backtrack across possible splits when a match fails. This can result in polynomial time complexity, potentially blocking a single CPU core for minutes per name. Affected paths include fnmatch.fnmatch(), glob.globmatch(), and filesystem glob scans in environments where untrusted users can create file names.Recommendations
Update wcmatch to version 11.2 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾