Intel

AIKIDO-2026-334325

wcmatch is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-76824 Published 3 days ago

75

High Risk

This Affects:

PYTHONwcmatch
0.0.1 - 10.2.1
Fixed in 11.0
Are you affected? Scan for Free

TL;DR

wcmatch translates extended glob patterns, enabled through the EXTMATCH or EXTGLOB flag, into regular expressions. When it parses patterns containing long chains of unbalanced or improperly nested opening extended-glob brackets, the parser repeatedly discards partially parsed content and restarts validation, producing exponential-time backtracking that worsens with nesting. A short externally influenced pattern of only tens of characters can exhaust CPU and hang the process. The fix reduces nested extended-glob structures and halts parsing once an unclosed extended group is encountered.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you enable extended glob matching via the EXTMATCH or EXTGLOB flag and evaluate user-controlled or externally influenced glob patterns.

Background info

wcmatch is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 10.2.1.

How to fix this

Upgrade the wcmatch library to the patch version.