Skip to main content

Wcmatch

1 CVEs product

Monthly

CVE-2026-141598 Dec 02, 01:08 HIGH PATCH This Week

wcmatch, the Python wildcard-matching library, can be driven into polynomial-time regular expression backtracking when a pattern containing three or more `**` (GLOBSTAR) segments is matched against a long, non-matching attacker-controlled path, pinning a CPU core for seconds to minutes. Exposure requires a non-default configuration: GLOBSTAR must be explicitly enabled (glob.GLOBSTAR or pathlib.GLOBSTAR) and the application must feed untrusted strings - archive member names, object-store keys, upload paths, request-derived routes - into glob.globmatch, glob.globfilter, a compiled glob.compile matcher, or pathlib.PurePath.globmatch, while the offending multi-globstar pattern is normally written by the application rather than supplied by the attacker. Availability-only impact (CVSS 4.0 base 8.2, VA:H with AC:H/AT:P and no confidentiality or integrity effect); the vendor advisory includes a public proof-of-concept snippet, but there is no indication of active exploitation, and the flaw is fixed in wcmatch 13.0.

Denial Of Service Python Wcmatch
NVD GitHub
CVSS 4.0
8.2
CVSS 8.2
HIGH PATCH This Week

wcmatch, the Python wildcard-matching library, can be driven into polynomial-time regular expression backtracking when a pattern containing three or more `**` (GLOBSTAR) segments is matched against a long, non-matching attacker-controlled path, pinning a CPU core for seconds to minutes. Exposure requires a non-default configuration: GLOBSTAR must be explicitly enabled (glob.GLOBSTAR or pathlib.GLOBSTAR) and the application must feed untrusted strings - archive member names, object-store keys, upload paths, request-derived routes - into glob.globmatch, glob.globfilter, a compiled glob.compile matcher, or pathlib.PurePath.globmatch, while the offending multi-globstar pattern is normally written by the application rather than supplied by the attacker. Availability-only impact (CVSS 4.0 base 8.2, VA:H with AC:H/AT:P and no confidentiality or integrity effect); the vendor advisory includes a public proof-of-concept snippet, but there is no indication of active exploitation, and the flaw is fixed in wcmatch 13.0.

Denial Of Service Python Wcmatch
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy