CVE-2026-141598

high

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.

References

https://www.vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-handle-star

https://github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52

https://github.com/facelessuser/wcmatch/releases/tag/13.0

https://github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e

https://github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.py#L245-L247

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140784

Details

Source: Mitre, NVD

Published: 2026-12-02

Updated: 2026-12-02

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 5.9

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

CVSS v4

Base Score: 8.2

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Severity: High

EPSS

EPSS: 0.00562