Skip to content
Medium 8.2

wcmatchにサービス拒否の脆弱性、CPUを長時間占有されるおそれ

CVE-2026-141598 First seen on SecPulse

Summary

wcmatchの13.0より前のバージョンには、パスの照合処理で正規表現の計算量が膨らむサービス拒否(ReDoS)の脆弱性が見つかっています。数KBの一致しないパスを与えるだけで、CPUの1コアが数分間占有されるおそれがあります。修正版として13.0が公開されているので、13.0以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

wcmatchの13.0より前のバージョンには、パスの照合処理で正規表現の計算量が膨らむサービス拒否(ReDoS)の脆弱性が見つかっています。数KBの一致しないパスを与えるだけで、CPUの1コアが数分間占有されるおそれがあります。修正版として13.0が公開されているので、13.0以降へ更新してください。

Affected packages

PackageAffected → Fixed
facelessuserwcmatch
< 13.0→ 13.0
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details