PT-2026-164397
CVE-2026-140008
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
CVSS 4.0
8.7
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
minimatch versions 11.0.0 through 11.0.6
Description
The
mergeRows() function in src/index.ts repeatedly copies and joins an entire pattern row while iterating through each wildcard position. This behavior results in quadratic compilation time for long path patterns consisting only of wildcards, even if only one row is present. An attacker providing uncached patterns to the Minimatch constructor or other compilation entry points can block the JavaScript event loop, leading to a denial of service. The workload is further increased when brace-generated rows are used.Recommendations
Update to version 11.0.7.
Found an issue in the description? Have something to add? Feel free to write us 👾