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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1333"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/132xxx/CVE-2026-132276.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "11.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "83491aadde57780330f993620083e979f645c80c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "11.2",
"range": [
{
"fixed": "e5305eb42463a857c57e6f8184b2e22e07a09291"
}
],
"source": "REFERENCES_TAG"
}
]
}