CVEfocus › CVE database › CVE-2026-27904

CVE-2026-27904minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular…

CVSS 7.5 HighEPSS 0.6% (higher than 43% 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.4, nested `*()` extglobs produce regexps with nested unbounded quantifiers (e.g. `(?:(?:a|b)*)*`), which exhibit catastrophic backtracking in V8. With a 12-byte pattern `*(*(*(a|b)))` and an 18-byte non-matching input, `minimatch()` stalls for over 7 seconds. Adding a single nesting level or a few input characters pushes this to minutes. This is the most severe finding: it is triggered by the default `minimatch()` API with no special options, and the minimum viable pattern is only 12 bytes. The same issue affects `+()` extglobs equally. 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.4 fix the issue.

CWE-1333

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, 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

53Fixed
8Fix pending
3Under investigation
10Will not fix
92Not affected

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-27904
Ubuntu 26.04node-minimatchUnder investigationUBUNTU-CVE-2026-27904
Ubuntu 25.10node-minimatchWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-27904
Ubuntu 24.04node-minimatchUnder investigationUBUNTU-CVE-2026-27904
Ubuntu 22.04node-minimatchUnder investigationUBUNTU-CVE-2026-27904
Ubuntu 20.04node-minimatchFix pendingUBUNTU-CVE-2026-27904
Ubuntu 18.04node-minimatchFix pendingUBUNTU-CVE-2026-27904
Ubuntu 16.04node-minimatchFix pendingUBUNTU-CVE-2026-27904
Ubuntu 14.04node-minimatchFix pendingUBUNTU-CVE-2026-27904
Debian 14node-minimatchFixed9.0.7-1DEBIAN-CVE-2026-27904
Debian 13node-minimatchFix pendingDEBIAN-CVE-2026-27904
Debian 12node-minimatchFix pendingDEBIAN-CVE-2026-27904
Red Hat Enterprise Linux 10clangNot affected
Red Hat Enterprise Linux 10clang-analyzerNot affected
Red Hat Enterprise Linux 10clang-develNot affected
Red Hat Enterprise Linux 10clang-libsNot affected
Red Hat Enterprise Linux 10clang-resource-filesystemNot affected
Red Hat Enterprise Linux 10clang-tools-extraNot affected
Red Hat Enterprise Linux 10compiler-rtNot affected
Red Hat Enterprise Linux 10git-clang-formatNot affected
Red Hat Enterprise Linux 10libompNot affected
Red Hat Enterprise Linux 10libomp-develNot affected
Red Hat Enterprise Linux 10lldNot affected
Red Hat Enterprise Linux 10lld-develNot affected
Red Hat Enterprise Linux 10lld-libsNot affected
Red Hat Enterprise Linux 10lldbNot affected
Red Hat Enterprise Linux 10lldb-develNot affected
Red Hat Enterprise Linux 10llvmNot affected
Red Hat Enterprise Linux 10llvm-develNot affected
Red Hat Enterprise Linux 10llvm-docNot affected
Red Hat Enterprise Linux 10llvm-filesystemNot affected
Red Hat Enterprise Linux 10llvm-googletestNot affected
Red Hat Enterprise Linux 10llvm-libsNot affected
Red Hat Enterprise Linux 10llvm-staticNot affected
Red Hat Enterprise Linux 10llvm-testNot affected
Red Hat Enterprise Linux 10llvm-toolsetNot affected
Red Hat Enterprise Linux 10nodejsFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-develFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-docsFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-full-i18nFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-libsFixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs-nodemonFix pending
Affected
Red Hat Enterprise Linux 10nodejs-npmFixed1:10.9.7-1.22.22.2.1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs22Fixed1:22.22.2-1.el10_1RHSA-2026:7080
Red Hat Enterprise Linux 10nodejs24Will not fix
Will not fix
Red Hat Enterprise Linux 10nodejs24-develWill not fix
Will not fix
Red Hat Enterprise Linux 10nodejs24-docsWill not fix
Will not fix
Red Hat Enterprise Linux 10nodejs24-full-i18nWill not fix
Will not fix
Red Hat Enterprise Linux 10nodejs24-libsWill not fix
Will not fix
Red Hat Enterprise Linux 10nodejs24-npmWill not fix
Will not fix
Red Hat Enterprise Linux 10python3-clangNot affected
Red Hat Enterprise Linux 10python3-litNot affected
Red Hat Enterprise Linux 10python3-lldbNot affected
Red Hat Enterprise Linux 9clangNot affected
Red Hat Enterprise Linux 9clang-analyzerNot affected
Red Hat Enterprise Linux 9clang-develNot affected
Red Hat Enterprise Linux 9clang-libsNot affected
Red Hat Enterprise Linux 9clang-resource-filesystemNot affected
Red Hat Enterprise Linux 9clang-tools-extraNot affected
Red Hat Enterprise Linux 9compiler-rtNot affected
Red Hat Enterprise Linux 9git-clang-formatNot affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9libompNot affected
Red Hat Enterprise Linux 9libomp-develNot affected
Red Hat Enterprise Linux 9lldNot affected
Red Hat Enterprise Linux 9lld-develNot affected
Red Hat Enterprise Linux 9lld-libsNot affected
Red Hat Enterprise Linux 9lldbNot affected
Red Hat Enterprise Linux 9lldb-develNot affected
Red Hat Enterprise Linux 9llvmNot affected
Red Hat Enterprise Linux 9llvm-develNot affected
Red Hat Enterprise Linux 9llvm-docNot affected
Red Hat Enterprise Linux 9llvm-filesystemNot affected
Red Hat Enterprise Linux 9llvm-googletestNot affected
Red Hat Enterprise Linux 9llvm-libsNot affected
Red Hat Enterprise Linux 9llvm-staticNot affected
Red Hat Enterprise Linux 9llvm-testNot affected
Red Hat Enterprise Linux 9llvm-toolsetNot affected
Red Hat Enterprise Linux 9nodejsFixed
Will not fix
1:20.20.2-1.module+el9.7.0+24193+41b7b572RHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-develFixed1:22.22.2-1.module+el9.7.0+24157+8ddb2461RHSA-2026:7896
Red Hat Enterprise Linux 9nodejs-docsFixed
Will not fix
1:20.20.2-1.module+el9.7.0+24193+41b7b572RHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-full-i18nFixed
Will not fix
1:20.20.2-1.module+el9.7.0+24193+41b7b572RHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-libsFixed
Will not fix
1:22.22.2-1.module+el9.7.0+24157+8ddb2461RHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-nodemonFixed
Will not fix
0:3.0.1-1.module+el9.7.0+24193+41b7b572RHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.7.0+24193+41b7b572RHSA-2026:7302
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-6.module+el9.7.0+24157+8ddb2461RHSA-2026:7896
Red Hat Enterprise Linux 9npmFixed
Will not fix
1:10.9.7-1.22.22.2.1.module+el9.7.0+24157+8ddb2461RHSA-2026:7896
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9pcs-snmpNot affected
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 9python3-clangNot affected
Red Hat Enterprise Linux 9python3-litNot affected
Red Hat Enterprise Linux 9python3-lldbNot affected
Red Hat Enterprise Linux 9v8-12.4-develFixed3:12.4.254.21-1.22.22.2.1.module+el9.7.0+24157+8ddb2461RHSA-2026:7302
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-bridgeNot affected
Red Hat Enterprise Linux 8cockpit-dashboardNot affected
Red Hat Enterprise Linux 8cockpit-docNot affected
Red Hat Enterprise Linux 8cockpit-machinesNot affected
Red Hat Enterprise Linux 8cockpit-packagekitNot affected
Red Hat Enterprise Linux 8cockpit-pcpNot affected
Red Hat Enterprise Linux 8cockpit-storagedNot affected
Red Hat Enterprise Linux 8cockpit-systemNot affected
Red Hat Enterprise Linux 8cockpit-wsNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8js-uglifyWill not fix
Will not fix
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8nodejsFixed
Will not fix
1:22.22.2-1.module+el8.10.0+24148+847b6786RHSA-2026:8339
Red Hat Enterprise Linux 8nodejs-develFixed
Will not fix
1:20.20.2-1.module+el8.10.0+24197+1602b452RHSA-2026:7123
Red Hat Enterprise Linux 8nodejs-docsFixed
Will not fix
1:22.22.2-1.module+el8.10.0+24148+847b6786RHSA-2026:8339
Red Hat Enterprise Linux 8nodejs-full-i18nFixed
Will not fix
1:22.22.2-1.module+el8.10.0+24148+847b6786RHSA-2026:8339
Red Hat Enterprise Linux 8nodejs-libsFixed
Will not fix
1:22.22.2-1.module+el8.10.0+24148+847b6786RHSA-2026:7123
Red Hat Enterprise Linux 8nodejs-nodemonFixed
Will not fix
0:3.0.1-1.module+el8.10.0+23521+490ebfdeRHSA-2026:7123
Red Hat Enterprise Linux 8nodejs-packagingFixed
Will not fix
0:2021.06-6.module+el8.10.0+24148+847b6786RHSA-2026:8339
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed
Will not fix
0:2021.06-6.module+el8.10.0+24197+1602b452RHSA-2026:7123
Red Hat Enterprise Linux 8npmFixed
Will not fix
1:10.9.7-1.22.22.2.1.module+el8.10.0+24148+847b6786RHSA-2026:8339
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 8uglify-jsWill not fix
Will not fix
Red Hat Enterprise Linux 8v8-12.4-develFixed
Will not fix
3:12.4.254.21-1.22.22.2.1.module+el8.10.0+24148+847b6786RHSA-2026:7123
Red Hat Enterprise Linux 8v8-13.6-develWill not fix
Will not fix
AlmaLinux 10nodejs-docsFixed1:22.22.2-1.el10_1ALSA-2026:7080
AlmaLinux 9nodejsFixed1:20.20.2-1.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux 9nodejs-develFixed1:20.20.2-1.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux 9nodejs-docsFixed1:20.20.2-1.module_el9.7.0+224+0af7cc6bALSA-2026:7896
AlmaLinux 9nodejs-full-i18nFixed1:20.20.2-1.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux 9nodejs-nodemonFixed3.0.1-1.module_el9.5.0+125+8dc38870ALSA-2026:7896
AlmaLinux 9nodejs-packagingFixed2021.06-6.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-6.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux 9npmFixed1:10.8.2-1.20.20.2.1.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux 8nodejsFixed1:20.20.2-1.module_el8.10.0+4165+3f200bdaALSA-2026:7123
AlmaLinux 8nodejs-develFixed1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:8339
AlmaLinux 8nodejs-docsFixed1:20.20.2-1.module_el8.10.0+4165+3f200bdaALSA-2026:7123
AlmaLinux 8nodejs-full-i18nFixed1:20.20.2-1.module_el8.10.0+4165+3f200bdaALSA-2026:7123
AlmaLinux 8nodejs-libsFixed1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux 8nodejs-nodemonFixed3.0.1-1.module_el8.10.0+4006+3c416519ALSA-2026:8339
AlmaLinux 8nodejs-packagingFixed2021.06-6.module_el8.10.0+4165+3f200bdaALSA-2026:7123
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:8339
AlmaLinux 8npmFixed1:10.8.2-1.20.20.2.1.module_el8.10.0+4165+3f200bdaALSA-2026:7123
AlmaLinux 8v8-12.4-develFixed3:12.4.254.21-1.22.22.2.1.module_el8.10.0+4158+e796f37fALSA-2026:7123
Rocky Linux 10nodejs22Fixed1:22.22.2-1.el10_1RLSA-2026:7080
Rocky Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.7.0+40022+9ecc286cRLSA-2026:7302
Rocky Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:7302
Rocky Linux 8nodejs-nodemonFixed0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2026:8339
Rocky Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:8339
npm libraryminimatchFixed10.2.3GHSA-23c5-xmqv-rm74

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.