Skip to content
Medium 7.5

minimatchに細工したglobで処理負荷が増大する脆弱性

CVE-2026-118764 First seen on SecPulse

Summary

minimatchの11.0.1より前のバージョンに、サービス運用妨害(DoS)の脆弱性が見つかっています。短い悪意あるglobパターンを処理させると、パターンのコンパイル中にCPUとメモリの消費が過大になるおそれがあります。修正版は11.0.1で、更新してください。

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.1より前のバージョンに、サービス運用妨害(DoS)の脆弱性が見つかっています。短い悪意あるglobパターンを処理させると、パターンのコンパイル中にCPUとメモリの消費が過大になるおそれがあります。修正版は11.0.1で、更新してください。

Affected packages

PackageAffected → Fixed
isaacsminimatch —
npmminimatch
≥ 7.0.0, < 11.0.1→ 11.0.1

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Starting in 7.0.0 and prior to 11.0.1, src/index.ts implements firstPhasePreProcess() so that, at optimizationLevel 2 or higher, it repeatedly expands attacker-controlled **/.. pattern segments inside a fixpoint loop, allowing generated globParts entries to be processed and expanded again. secondPhasePreProcess() then compares the expanded entries pairwise, so a short malicious glob can cause excessive CPU and memory consumption during pattern compilation. This issue is fixed in version 11.0.1.

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