CVE-2026-27904minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-minimatch | Fix pending | UBUNTU-CVE-2026-27904 | |
| Ubuntu 26.04 | node-minimatch | Under investigation | UBUNTU-CVE-2026-27904 | |
| Ubuntu 25.10 | node-minimatch | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-27904 | |
| Ubuntu 24.04 | node-minimatch | Under investigation | UBUNTU-CVE-2026-27904 | |
| Ubuntu 22.04 | node-minimatch | Under investigation | UBUNTU-CVE-2026-27904 | |
| Ubuntu 20.04 | node-minimatch | Fix pending | UBUNTU-CVE-2026-27904 | |
| Ubuntu 18.04 | node-minimatch | Fix pending | UBUNTU-CVE-2026-27904 | |
| Ubuntu 16.04 | node-minimatch | Fix pending | UBUNTU-CVE-2026-27904 | |
| Ubuntu 14.04 | node-minimatch | Fix pending | UBUNTU-CVE-2026-27904 | |
| Debian 14 | node-minimatch | Fixed | 9.0.7-1 | DEBIAN-CVE-2026-27904 |
| Debian 13 | node-minimatch | Fix pending | DEBIAN-CVE-2026-27904 | |
| Debian 12 | node-minimatch | Fix pending | DEBIAN-CVE-2026-27904 | |
| Red Hat Enterprise Linux 10 | clang | Not affected | ||
| Red Hat Enterprise Linux 10 | clang-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | clang-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | clang-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | clang-resource-filesystem | Not affected | ||
| Red Hat Enterprise Linux 10 | clang-tools-extra | Not affected | ||
| Red Hat Enterprise Linux 10 | compiler-rt | Not affected | ||
| Red Hat Enterprise Linux 10 | git-clang-format | Not affected | ||
| Red Hat Enterprise Linux 10 | libomp | Not affected | ||
| Red Hat Enterprise Linux 10 | libomp-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | lld | Not affected | ||
| Red Hat Enterprise Linux 10 | lld-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | lld-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | lldb-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | llvm | Not affected | ||
| Red Hat Enterprise Linux 10 | llvm-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | llvm-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | llvm-filesystem | Not affected | ||
| Red Hat Enterprise Linux 10 | llvm-googletest | Not affected | ||
| Red Hat Enterprise Linux 10 | llvm-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | llvm-static | Not affected | ||
| Red Hat Enterprise Linux 10 | llvm-test | Not affected | ||
| Red Hat Enterprise Linux 10 | llvm-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-devel | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-docs | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-libs | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs-nodemon | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Fixed | 1:10.9.7-1.22.22.2.1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs22 | Fixed | 1:22.22.2-1.el10_1 | RHSA-2026:7080 |
| Red Hat Enterprise Linux 10 | nodejs24 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs24-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs24-docs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs24-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | nodejs24-npm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | python3-clang | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-lit | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | clang | Not affected | ||
| Red Hat Enterprise Linux 9 | clang-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | clang-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | clang-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | clang-resource-filesystem | Not affected | ||
| Red Hat Enterprise Linux 9 | clang-tools-extra | Not affected | ||
| Red Hat Enterprise Linux 9 | compiler-rt | Not affected | ||
| Red Hat Enterprise Linux 9 | git-clang-format | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | libomp | Not affected | ||
| Red Hat Enterprise Linux 9 | libomp-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | lld | Not affected | ||
| Red Hat Enterprise Linux 9 | lld-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | lld-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | lldb-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | llvm | Not affected | ||
| Red Hat Enterprise Linux 9 | llvm-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | llvm-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | llvm-filesystem | Not affected | ||
| Red Hat Enterprise Linux 9 | llvm-googletest | Not affected | ||
| Red Hat Enterprise Linux 9 | llvm-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | llvm-static | Not affected | ||
| Red Hat Enterprise Linux 9 | llvm-test | Not affected | ||
| Red Hat Enterprise Linux 9 | llvm-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Fixed Will not fix | 1:20.20.2-1.module+el9.7.0+24193+41b7b572 | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:22.22.2-1.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7896 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed Will not fix | 1:20.20.2-1.module+el9.7.0+24193+41b7b572 | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed Will not fix | 1:20.20.2-1.module+el9.7.0+24193+41b7b572 | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed Will not fix | 1:22.22.2-1.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed Will not fix | 0:3.0.1-1.module+el9.7.0+24193+41b7b572 | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.7.0+24193+41b7b572 | RHSA-2026:7302 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7896 |
| Red Hat Enterprise Linux 9 | npm | Fixed Will not fix | 1:10.9.7-1.22.22.2.1.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7896 |
| Red Hat Enterprise Linux 9 | pcs | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-clang | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-lit | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.22.2.1.module+el9.7.0+24157+8ddb2461 | RHSA-2026:7302 |
| Red Hat Enterprise Linux 8 | cockpit | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-bridge | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-dashboard | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-machines | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-packagekit | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-pcp | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-storaged | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-system | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-ws | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Not affected | ||
| Red Hat Enterprise Linux 8 | js-uglify | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs | Fixed Will not fix | 1:22.22.2-1.module+el8.10.0+24148+847b6786 | RHSA-2026:8339 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed Will not fix | 1:20.20.2-1.module+el8.10.0+24197+1602b452 | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed Will not fix | 1:22.22.2-1.module+el8.10.0+24148+847b6786 | RHSA-2026:8339 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed Will not fix | 1:22.22.2-1.module+el8.10.0+24148+847b6786 | RHSA-2026:8339 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Fixed Will not fix | 1:22.22.2-1.module+el8.10.0+24148+847b6786 | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed Will not fix | 0:3.0.1-1.module+el8.10.0+23521+490ebfde | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed Will not fix | 0:2021.06-6.module+el8.10.0+24148+847b6786 | RHSA-2026:8339 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed Will not fix | 0:2021.06-6.module+el8.10.0+24197+1602b452 | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | npm | Fixed Will not fix | 1:10.9.7-1.22.22.2.1.module+el8.10.0+24148+847b6786 | RHSA-2026:8339 |
| Red Hat Enterprise Linux 8 | pcs | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 8 | uglify-js | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Fixed Will not fix | 3:12.4.254.21-1.22.22.2.1.module+el8.10.0+24148+847b6786 | RHSA-2026:7123 |
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Will not fix Will not fix | ||
| AlmaLinux 10 | nodejs-docs | Fixed | 1:22.22.2-1.el10_1 | ALSA-2026:7080 |
| AlmaLinux 9 | nodejs | Fixed | 1:20.20.2-1.module_el9.7.0+226+88d36870 | ALSA-2026:7896 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:20.20.2-1.module_el9.7.0+226+88d36870 | ALSA-2026:7896 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:20.20.2-1.module_el9.7.0+224+0af7cc6b | ALSA-2026:7896 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:20.20.2-1.module_el9.7.0+226+88d36870 | ALSA-2026:7896 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 3.0.1-1.module_el9.5.0+125+8dc38870 | ALSA-2026:7896 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-6.module_el9.7.0+226+88d36870 | ALSA-2026:7896 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el9.7.0+226+88d36870 | ALSA-2026:7896 |
| AlmaLinux 9 | npm | Fixed | 1:10.8.2-1.20.20.2.1.module_el9.7.0+226+88d36870 | ALSA-2026:7896 |
| AlmaLinux 8 | nodejs | Fixed | 1:20.20.2-1.module_el8.10.0+4165+3f200bda | ALSA-2026:7123 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:22.22.2-1.module_el8.10.0+4158+e796f37f | ALSA-2026:8339 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:20.20.2-1.module_el8.10.0+4165+3f200bda | ALSA-2026:7123 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:20.20.2-1.module_el8.10.0+4165+3f200bda | ALSA-2026:7123 |
| AlmaLinux 8 | nodejs-libs | Fixed | 1:22.22.2-1.module_el8.10.0+4158+e796f37f | ALSA-2026:7123 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.0.1-1.module_el8.10.0+4006+3c416519 | ALSA-2026:8339 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-6.module_el8.10.0+4165+3f200bda | ALSA-2026:7123 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el8.10.0+4158+e796f37f | ALSA-2026:8339 |
| AlmaLinux 8 | npm | Fixed | 1:10.8.2-1.20.20.2.1.module_el8.10.0+4165+3f200bda | ALSA-2026:7123 |
| AlmaLinux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.22.2.1.module_el8.10.0+4158+e796f37f | ALSA-2026:7123 |
| Rocky Linux 10 | nodejs22 | Fixed | 1:22.22.2-1.el10_1 | RLSA-2026:7080 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.7.0+40022+9ecc286c | RLSA-2026:7302 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.7.0+40052+e32ea525 | RLSA-2026:7302 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el8.10.0+1824+532140ee | RLSA-2026:8339 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+40048+6d99f608 | RLSA-2026:8339 |
| npm library | minimatch | Fixed | 10.2.3 | GHSA-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.
- isaacs minimatch: affected: >= 10.0.0, < 10.2.3, >= 9.0.0, < 9.0.7, >= 8.0.0, < 8.0.6, >= 7.0.0, < 7.4.8, >= 6.0.0, < 6.2.2, >= 5.0.0, < 5.1.8
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.