CVE-2026-140008

NameCVE-2026-140008
Descriptionminimatch 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-minimatch (PTS)bookworm5.1.1+~5.1.2-1fixed
trixie9.0.3-6fixed
forky, sid9.0.7-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-minimatchsource(unstable)(not affected)

Notes

- node-minimatch <not-affected> (Vulnerable code introduced later)
https://github.com/isaacs/minimatch/security/advisories/GHSA-cf2h-pxjq-68xw
Fixed by: https://github.com/isaacs/minimatch/commit/8a26917fa43e2b865dd6017f7acf6ac2fd5190cd (v11.0.7)

Search for package or bug name: Reporting problems