Skip to content
High 8.7

minimatchに長いワイルドカードのパターンで処理が極端に遅くなる脆弱性

CVE-2026-140008 First seen on SecPulse

Summary

minimatchの11.0.0から11.0.6までに、長いワイルドカードのパターンを読み込むと処理時間が急増する脆弱性があります。攻撃者が細工したパターンを渡すと、JavaScriptの実行が止まりサービス妨害(DoS)を起こすおそれがあります。修正版は11.0.7です。

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.

minimatchの11.0.0から11.0.6までに、長いワイルドカードのパターンを読み込むと処理時間が急増する脆弱性があります。攻撃者が細工したパターンを渡すと、JavaScriptの実行が止まりサービス妨害(DoS)を起こすおそれがあります。修正版は11.0.7です。

Affected packages

PackageAffected → Fixed
isaacsminimatch —
npmminimatch
≥ 11.0.0, < 11.0.7→ 11.0.7
Original description The description as published by the source.

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while iterating each wildcard position, causing quadratic compilation time for long wildcard-only path patterns even when only one row exists. An attacker who can supply uncached patterns to new Minimatch or another compiling entry point can block the JavaScript event loop and cause a denial of service, with brace-generated rows further multiplying the work. This issue is fixed in version 11.0.7.

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