CVEfocus › CVE database › CVE-2026-27903

CVE-2026-27903minimatch has a ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent…

CVSS 7.5 HighEPSS 0.8% (higher than 53% of CVEs)Published 2026-02-26Updated 2026-02-26Assigner: GitHub_M

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, `matchOne()` performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent `**` (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where `n` is the number of path segments and `k` is the number of globstars. With k=11 and n=30, a call to the default `minimatch()` API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to `minimatch()` is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.

CWE-407

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
120Fix pending
3Under investigation
13Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-minimatchFix pendingUBUNTU-CVE-2026-27903
Ubuntu 26.04node-minimatchUnder investigationUBUNTU-CVE-2026-27903
Ubuntu 25.10node-minimatchWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-27903
Ubuntu 24.04node-minimatchUnder investigationUBUNTU-CVE-2026-27903
Ubuntu 22.04node-minimatchUnder investigationUBUNTU-CVE-2026-27903
Ubuntu 20.04node-minimatchFix pendingUBUNTU-CVE-2026-27903
Ubuntu 18.04node-minimatchFix pendingUBUNTU-CVE-2026-27903
Ubuntu 16.04node-minimatchFix pendingUBUNTU-CVE-2026-27903
Ubuntu 14.04node-minimatchFix pendingUBUNTU-CVE-2026-27903
Debian 14node-minimatchFixed9.0.7-1DEBIAN-CVE-2026-27903
Debian 13node-minimatchFix pendingDEBIAN-CVE-2026-27903
Debian 12node-minimatchFix pendingDEBIAN-CVE-2026-27903
Red Hat Enterprise Linux 10clangFix pending
Fix deferred
Red Hat Enterprise Linux 10clang-analyzerFix pending
Fix deferred
Red Hat Enterprise Linux 10clang-develFix pending
Fix deferred
Red Hat Enterprise Linux 10clang-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10clang-resource-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 10clang-tools-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10compiler-rtFix pending
Fix deferred
Red Hat Enterprise Linux 10git-clang-formatFix pending
Fix deferred
Red Hat Enterprise Linux 10libompFix pending
Fix deferred
Red Hat Enterprise Linux 10libomp-develFix pending
Fix deferred
Red Hat Enterprise Linux 10lldFix pending
Fix deferred
Red Hat Enterprise Linux 10lld-develFix pending
Fix deferred
Red Hat Enterprise Linux 10lld-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10lldbFix pending
Fix deferred
Red Hat Enterprise Linux 10lldb-develFix pending
Fix deferred
Red Hat Enterprise Linux 10llvmFix pending
Fix deferred
Red Hat Enterprise Linux 10llvm-develFix pending
Fix deferred
Red Hat Enterprise Linux 10llvm-docFix pending
Fix deferred
Red Hat Enterprise Linux 10llvm-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 10llvm-googletestFix pending
Fix deferred
Red Hat Enterprise Linux 10llvm-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10llvm-staticFix pending
Fix deferred
Red Hat Enterprise Linux 10llvm-testFix pending
Fix deferred
Red Hat Enterprise Linux 10llvm-toolsetFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-develFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-nodemonFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-npmFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs22Fix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24Fix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-develFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-npmFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-clangFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-litFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-lldbFix pending
Fix deferred
Red Hat Enterprise Linux 9clangFix pending
Fix deferred
Red Hat Enterprise Linux 9clang-analyzerFix pending
Fix deferred
Red Hat Enterprise Linux 9clang-develFix pending
Fix deferred
Red Hat Enterprise Linux 9clang-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9clang-resource-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 9clang-tools-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9compiler-rtFix pending
Fix deferred
Red Hat Enterprise Linux 9git-clang-formatFix pending
Fix deferred
Red Hat Enterprise Linux 9gjsFix pending
Fix deferred
Red Hat Enterprise Linux 9gjs-develFix pending
Fix deferred
Red Hat Enterprise Linux 9grafanaWill not fix
Out of support scope
Red Hat Enterprise Linux 9grafana-selinuxWill not fix
Out of support scope
Red Hat Enterprise Linux 9libompFix pending
Fix deferred
Red Hat Enterprise Linux 9libomp-develFix pending
Fix deferred
Red Hat Enterprise Linux 9lldFix pending
Fix deferred
Red Hat Enterprise Linux 9lld-develFix pending
Fix deferred
Red Hat Enterprise Linux 9lld-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9lldbFix pending
Fix deferred
Red Hat Enterprise Linux 9lldb-develFix pending
Fix deferred
Red Hat Enterprise Linux 9llvmFix pending
Fix deferred
Red Hat Enterprise Linux 9llvm-develFix pending
Fix deferred
Red Hat Enterprise Linux 9llvm-docFix pending
Fix deferred
Red Hat Enterprise Linux 9llvm-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 9llvm-googletestFix pending
Fix deferred
Red Hat Enterprise Linux 9llvm-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9llvm-staticFix pending
Fix deferred
Red Hat Enterprise Linux 9llvm-testFix pending
Fix deferred
Red Hat Enterprise Linux 9llvm-toolsetFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejsFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-docsFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-nodemonFix pending
Fix deferred
Red Hat Enterprise Linux 9npmFix pending
Fix deferred
Red Hat Enterprise Linux 9pcsFix pending
Fix deferred
Red Hat Enterprise Linux 9pcs-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 9polkitFix pending
Fix deferred
Red Hat Enterprise Linux 9polkit-develFix pending
Fix deferred
Red Hat Enterprise Linux 9polkit-docsFix pending
Fix deferred
Red Hat Enterprise Linux 9polkit-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-clangFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-litFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-lldbFix pending
Fix deferred
Red Hat Enterprise Linux 8cockpitWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-bridgeWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-dashboardWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-docWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-machinesWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-packagekitWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-pcpWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-storagedWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-systemWill not fix
Out of support scope
Red Hat Enterprise Linux 8cockpit-wsWill not fix
Out of support scope
Red Hat Enterprise Linux 8grafanaFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-azure-monitorFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-cloudwatchFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-elasticsearchFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-graphiteFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-influxdbFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-lokiFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-mssqlFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-opentsdbFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-postgresFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-prometheusFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-stackdriverFix pending
Fix deferred
Red Hat Enterprise Linux 8js-uglifyFix pending
Fix deferred
Red Hat Enterprise Linux 8mozjs60Fix pending
Fix deferred
Red Hat Enterprise Linux 8mozjs60-develFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejsFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-develFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-docsFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-nodemonFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-packagingFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFix pending
Fix deferred
Red Hat Enterprise Linux 8npmFix pending
Fix deferred
Red Hat Enterprise Linux 8pcsFix pending
Fix deferred
Red Hat Enterprise Linux 8pcs-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 8uglify-jsFix pending
Fix deferred
Red Hat Enterprise Linux 8v8-12.4-develFix pending
Fix deferred
Red Hat Enterprise Linux 8v8-13.6-develFix pending
Fix deferred
npm libraryminimatchFixed8.0.6GHSA-7r86-cg39-jmmj

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.