cve.bz

CVE-2026-27904 minimatch project minimatch

7.5 highExploit referenceEPSS 0.5%Fix available

High (7.5) in minimatch project minimatch. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in minimatch 10.2.3, 3.1.4, 4.2.5.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27904 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27904?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27904?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27904 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
minimatch_project:minimatchbefore 3.1.4
minimatch_project:minimatchfrom 4.0.0 before 4.2.5
minimatch_project:minimatchfrom 5.0.0 before 5.1.8
minimatch_project:minimatchfrom 6.0.0 before 6.2.2
minimatch_project:minimatchfrom 7.0.0 before 7.4.8
minimatch_project:minimatchfrom 8.0.0 before 8.0.6
minimatch_project:minimatchfrom 9.0.0 before 9.0.7
minimatch_project:minimatchfrom 10.0.0 before 10.2.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-23c5-xmqv-rm74npmminimatch>=10.0.0 <10.2.310.2.3
GHSA-23c5-xmqv-rm74npmminimatch>=9.0.0 <9.0.79.0.7
GHSA-23c5-xmqv-rm74npmminimatch>=8.0.0 <8.0.68.0.6
GHSA-23c5-xmqv-rm74npmminimatch>=7.0.0 <7.4.87.4.8
GHSA-23c5-xmqv-rm74npmminimatch>=6.0.0 <6.2.26.2.2
GHSA-23c5-xmqv-rm74npmminimatch>=5.0.0 <5.1.85.1.8
GHSA-23c5-xmqv-rm74npmminimatch>=4.0.0 <4.2.54.2.5
GHSA-23c5-xmqv-rm74npmminimatch<3.1.43.1.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-minimatchno fix listedDEBIAN-CVE-2026-27904
Debian14node-minimatch9.0.7-1DEBIAN-CVE-2026-27904
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 6 morenode-minimatchno fix listedUBUNTU-CVE-2026-27904
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.29-2.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy-server0:2.5.10-6.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8automation-gateway-server0:2.5.20260422-3.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8python3.12-pillow0:12.2.0-1.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8python3.12-click0:8.3.3-1.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8python3.12-cryptography0:46.0.7-1.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8receptor0:1.6.5-1.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.29-2.el9apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy-server0:2.6.14-3.el9apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9automation-gateway-server0:2.5.20260422-3.el9apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9python3.12-pillow0:12.2.0-1.el9apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9, ansible_automation_platform_inside:2.5::el9python3.12-click0:8.3.3-1.el9apRHSA-2026:24761
89 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.5cockpit298-150500.3.12.1SUSE-SU-2026:2363-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit364-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-machines354-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-packages5-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-podman128-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-repos4.8-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cockpit-subscriptions16.2-160000.1.1SUSE-SU-2026:22837-1
SUSELinux Micro 6.2cockpit364-160000.1.1SUSE-SU-2026:22770-1
SUSELinux Micro 6.2cockpit-machines354-160000.1.1SUSE-SU-2026:22770-1
SUSELinux Micro 6.2cockpit-podman128-160000.1.1SUSE-SU-2026:22770-1
SUSELinux Micro 6.2cockpit-repos4.8-160000.1.1SUSE-SU-2026:22770-1
SUSELinux Micro 6.2cockpit-subscriptions16.2-160000.1.1SUSE-SU-2026:22770-1
openSUSELeap 16.0cockpit364-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-machines354-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-packages5-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-podman128-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-repos4.8-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0cockpit-subscriptions16.2-160000.1.1openSUSE-SU-2026:21399-1
openSUSELeap 16.0openQA5.1783076943.6691832d-bp160.1.1openSUSE-SU-2026:21266-1
openSUSELeap 16.0os-autoinst5.1783082953.c3cb41d-bp160.1.1openSUSE-SU-2026:21266-1
openSUSETumbleweedcockpit-repos4.9-1.1openSUSE-SU-2026:11446-1
openSUSETumbleweedcockpit-subscriptions16.3-1.1openSUSE-SU-2026:11447-1
openSUSETumbleweedonnxruntime1.26.0-1.1openSUSE-SU-2026:11146-1
openSUSETumbleweedopenQA5.1782995932.ffeb09be-1.1openSUSE-SU-2026:11178-1
1 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:20.20.2-1.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:22.22.2-1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.10.0+3982+85c136aaALSA-2026:8339
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.10.0+4006+3c416519ALSA-2026:7123
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux8npm1:10.8.2-1.20.20.2.1.module_el8.10.0+4165+3f200bdaALSA-2026:8339
AlmaLinux8npm1:10.9.7-1.22.22.2.1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux8v8-12.4-devel3:12.4.254.21-1.22.22.2.1.module_el8.10.0+4158+e796f37fALSA-2026:7123
AlmaLinux9nodejs, nodejs-devel, nodejs-full-i18n1:20.20.2-1.module_el9.7.0+226+88d36870ALSA-2026:7896
AlmaLinux9nodejs-docs, nodejs-devel, nodejs-full-i18n1:20.20.2-1.module_el9.7.0+224+0af7cc6bALSA-2026:7896
AlmaLinux9nodejs-nodemon3.0.1-1.module_el9.5.0+125+8dc38870ALSA-2026:7896
4 more for AlmaLinux in the JSON.
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2026:7123 RLSA-2026:8339
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2026:7123 RLSA-2026:8339
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2026:7123 RLSA-2026:8339
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2026:7123 RLSA-2026:8339
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2026:7123 RLSA-2026:8339
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2026:7123 RLSA-2026:8339
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2026:7123 RLSA-2026:8339
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2026:7123 RLSA-2026:8339
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2026:7123 RLSA-2026:8339
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:7123 RLSA-2026:8339
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40017+f0db1785RLSA-2026:7302 RLSA-2026:7896
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40018+a011993dRLSA-2026:7302 RLSA-2026:7896
3 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Exploitation of this flaw requires that a user or service processes untrusted input.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-gateway-0:2.5.20260422-3.el8apFixed 2026-06-09RHSA-2026:24761
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-gateway-0:2.5.20260422-3.el9apFixed 2026-06-09RHSA-2026:24761
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-platform-ui-0:2.6.7-1.el9apFixed 2026-03-31RHSA-2026:6277
Red Hat Enterprise Linux 10nodejs22-1:22.22.2-1.el10_1Fixed 2026-04-08RHSA-2026:7080
Red Hat Enterprise Linux 10.0 Extended Update Supportnodejs22-1:22.22.2-2.el10_0Fixed 2026-04-09RHSA-2026:7310
Red Hat Enterprise Linux 8nodejs:22-8100020260331102257.6d880403Fixed 2026-04-08RHSA-2026:7123
Red Hat Enterprise Linux 8nodejs:20-8100020260414073138.489197e6Fixed 2026-04-15RHSA-2026:8339
Red Hat Enterprise Linux 9nodejs:22-9070020260401095228.rhel9Fixed 2026-04-09RHSA-2026:7302
Red Hat Enterprise Linux 9nodejs:20-9070020260409073121.rhel9Fixed 2026-04-13RHSA-2026:7896
Red Hat Enterprise Linux 9.4 Extended Update Supportnodejs:20-9040020260421133644.rhel9Fixed 2026-04-22RHSA-2026:9711
Cryostat 4io.cryostat-cryostatNot affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Will not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Will not fix
228 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27904.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON