cvelo
P3 · MediumCVSS 5.9EPSS 0.6%

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

  • CVE-2026-141598
  • GHSA-vvgr-fj3f-x236
  • EUVD-2026-140784

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.

Text from the CVE.org record.

Recommendation

  • facelessuser wcmatch

    • If you run a version before 13.0update to 13.0 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • facelessuser wcmatch

    Affected versionsFixed in
    before 13.013.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.