Source: python-wcmatch
X-Debbugs-CC: [email protected]
Severity: important
Tags: security

Hi,

The following vulnerability was published for python-wcmatch.

CVE-2026-141598[0]:
| 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.

 https://github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52
 
https://github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e
 (13.0)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-141598
    https://www.cve.org/CVERecord?id=CVE-2026-141598

Please adjust the affected versions in the BTS as needed.

Reply via email to