Inefficient Regular Expression Complexity Affecting python-wcmatch package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.56% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-PYTHONWCMATCH-23494681
  • published3 Dec 2026
  • disclosed2 Dec 2026

Introduced: 2 Dec 2026

NewCVE-2026-141598  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 python-wcmatch.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-wcmatch package and not the python-wcmatch package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

wcmatch before 13.0 contains a regular expression denial of service vulnerability that allows attackers to exhaust CPU by matching paths against patterns with three or more globstar segments. Attackers can supply a few KB of non-matching path to glob.globmatch, glob.globfilter, glob.compile matchers or pathlib.PurePath.globmatch, triggering roughly O(n^k) backtracking that consumes a CPU core for minutes.

CVSS Base Scores

version 3.1