{"id":"CVE-2026-141598","aliases":["DEBIAN-CVE-2026-141598","EUVD-2026-140784","GHSA-5fhc-4v76-7q52","GHSA-vvgr-fj3f-x236"],"status":"published","title":"wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()","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.","severity":{"version":"4.0","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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00562,"percentile":0.48195,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false,"poc_reported":true},"cwes":["CWE-1333"],"published":"2026-12-02T01:08:15Z","modified":"2026-12-05T03:45:43Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"python-wcmatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.0-1","8.4-2","8.5.1-1"]},{"source":"osv","ecosystem":"Debian:13","package":"python-wcmatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.0-1"]},{"source":"osv","ecosystem":"Debian:14","package":"python-wcmatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.0-1"]}],"products":[{"vendor":"facelessuser","product":"wcmatch"}],"references":[{"url":"https://github.com/facelessuser/wcmatch/security/advisories/GHSA-5fhc-4v76-7q52","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://github.com/facelessuser/wcmatch/commit/fffd25336b52b19fa75dcea21f4b8c179c735e0e","tags":["patch","fix"]},{"url":"https://github.com/facelessuser/wcmatch/releases/tag/13.0","tags":["release-notes","advisory"]},{"url":"https://github.com/facelessuser/wcmatch/blob/12.0.4/wcmatch/_wcparse.py#L245-L247","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/wcmatch-before-13.0-redos-via-multiple-globstar-segments-in-handle-star","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141598","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vvgr-fj3f-x236"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141598.json","tags":["advisory"]},{"url":"https://github.com/facelessuser/wcmatch","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-141598","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-141598","title":"wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()","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.","status":"published","published":"2026-12-02T01:08:15.923Z","modified":"2026-12-05T02:30:38.478Z","cvss":[{"version":"4.0","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","level":"high","assessor":"cna"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-1333"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","date":"2026-12-05"},"updated_at":"2026-12-05T02:37:52.072311Z"}],"euvd":[{"id":"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.","status":"published","published":"2026-12-02T01:08:15Z","modified":"2026-12-05T02:30:38Z","cvss":[{"version":"4.0","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","level":"high"}],"updated_at":"2026-12-02T06:23:07.175731Z"}],"ghsa":[{"id":"GHSA-vvgr-fj3f-x236","title":"wcmatch before 13.0 contains a regular expression denial of service vulnerability that allows...","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.","status":"published","published":"2026-12-02T03:31:30Z","modified":"2026-12-02T03:31:31Z","cvss":[{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-12-02T03:34:21.085474Z"}],"nvd":[{"id":"CVE-2026-141598","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.","status":"published","published":"2026-12-02T02:17:43.2Z","modified":"2026-12-05T03:19:47.92Z","cvss":[{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-1333"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","date":"2026-12-05"},"updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-141598","title":"wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()","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.","status":"published","published":"2026-12-02T01:08:15.923Z","modified":"2026-12-05T03:45:43.718682568Z","cvss":[{"version":"4.0","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","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-12-02T21:28:42.350468Z"},{"id":"DEBIAN-CVE-2026-141598","upstream":["CVE-2026-141598"],"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.","status":"published","published":"2026-12-02T02:17:43.2Z","modified":"2026-12-03T00:00:10.255006809Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-12-03T00:33:20.774422Z"}]}}
