{"id":"UBUNTU-CVE-2026-132276","details":"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.","modified":"2026-11-25T17:45:50Z","published":"2026-11-20T17:18:00Z","upstream":["CVE-2026-132276"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-132276"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-132276"},{"type":"REPORT","url":"https://github.com/facelessuser/wcmatch/commit/83491aadde57780330f993620083e979f645c80c"},{"type":"REPORT","url":"https://github.com/facelessuser/wcmatch/releases/tag/11.2"},{"type":"REPORT","url":"https://github.com/facelessuser/wcmatch/security/advisories/GHSA-53pm-wgxf-c6qf"}],"affected":[{"package":{"name":"python-wcmatch","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-wcmatch?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-wcmatch","binary_version":"8.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-132276.json"}},{"package":{"name":"python-wcmatch","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-wcmatch?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4-2","8.4-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.4-2ubuntu0.1","binary_name":"python3-wcmatch"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-132276.json"}},{"package":{"name":"python-wcmatch","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/python-wcmatch?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-wcmatch","binary_version":"10.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-132276.json"}},{"package":{"name":"python-wcmatch","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-wcmatch?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"10.0-1","binary_name":"python3-wcmatch"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-132276.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}