CVE-2026-141598
JSON

8.2high

wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()

Severity
8.2high CVSS:4.0 by VulnCheck
Published
Last changed
Assigned by
VulnCheck

Description

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.

Affected

Product or packageVersionsReported by
facelessuser wcmatchbefore 13.0CVE List

All scores

VulnCheck8.2high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-141598 changed 2026-12-02CVE Terms of Use
NVDCVE-2026-141598 changed 2026-12-02Public domain