cve.bz

CVE-2025-5889 juliangruber brace-expansion: Uncontrolled Resource Consumption

1.3 lowEPSS 0.6%Fix available

Low (1.3) in juliangruber brace-expansion. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in brace-expansion 1.1.12, 2.0.2, 3.0.1.

On this page
A vulnerability was found in juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 1.1.12, 2.0.2, 3.0.1 and 4.0.1 is able to address this issue. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to upgrade the affected component.

Severity

CVSS 4.0

1.3 low
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

CVSS 3.1

3.1 low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th 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 2025-06-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-5889 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-5889?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-5889?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-2025-5889 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 CNA's record in the CVE List.

ProductAffected
juliangruber brace-expansion1.1.0
juliangruber brace-expansion1.1.1
juliangruber brace-expansion1.1.2
juliangruber brace-expansion1.1.3
juliangruber brace-expansion1.1.4
juliangruber brace-expansion1.1.5
juliangruber brace-expansion1.1.6
juliangruber brace-expansion1.1.7
juliangruber brace-expansion1.1.8
juliangruber brace-expansion1.1.9
juliangruber brace-expansion1.1.10
juliangruber brace-expansion1.1.11
juliangruber brace-expansion2.0.0
juliangruber brace-expansion2.0.1
juliangruber brace-expansion3.0
juliangruber brace-expansion4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v6h2-p8h4-qcjwnpmbrace-expansion>=2.0.0 <2.0.22.0.2
GHSA-v6h2-p8h4-qcjwnpmbrace-expansion>=1.0.0 <1.1.121.1.12
GHSA-v6h2-p8h4-qcjwnpmbrace-expansion>=3.0.0 <3.0.13.0.1
GHSA-v6h2-p8h4-qcjwnpmbrace-expansion>=4.0.0 <4.0.14.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-brace-expansionno fix listedDEBIAN-CVE-2025-5889
Debian13, 14node-brace-expansion2.0.1+~1.1.0-2DEBIAN-CVE-2025-5889
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 2 morenode-brace-expansionno fix listedUBUNTU-CVE-2025-5889
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morepython-coverage7.6.10-150400.12.6.1SUSE-SU-2025:3744-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 morepython-pluggy1.5.0-150400.14.10.1SUSE-SU-2025:3744-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 morepython-pytest8.3.5-150400.3.9.1SUSE-SU-2025:3744-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 morepython-pytest-cov6.2.1-150400.12.6.1SUSE-SU-2025:3744-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 morepython-pytest-mock3.14.0-150400.13.6.1SUSE-SU-2025:3744-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5, Linux Enterprise Module for Public Cloud 15 SP6 and 1 moreaws-cli1.33.26-150400.34.7.1SUSE-SU-2025:3744-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5, Linux Enterprise Module for Public Cloud 15 SP6 and 1 morepython-boto31.34.138-150400.27.7.1SUSE-SU-2025:3744-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5, Linux Enterprise Module for Public Cloud 15 SP6 and 1 morepython-botocore1.34.144-150400.41.7.1SUSE-SU-2025:3744-1
openSUSELeap 15.6aws-cli1.33.26-150400.34.7.1SUSE-SU-2025:3744-1
openSUSELeap 15.6python-boto31.34.138-150400.27.7.1SUSE-SU-2025:3744-1
openSUSELeap 15.6python-botocore1.34.144-150400.41.7.1SUSE-SU-2025:3744-1
openSUSELeap 15.6python-coverage7.6.10-150400.12.6.1SUSE-SU-2025:3744-1
openSUSELeap 15.6python-flaky3.8.1-150400.14.6.1SUSE-SU-2025:3744-1
openSUSELeap 15.6python-pluggy1.5.0-150400.14.10.1SUSE-SU-2025:3744-1
openSUSELeap 15.6python-pytest8.3.5-150400.3.9.1SUSE-SU-2025:3744-1
openSUSELeap 15.6python-pytest-cov6.2.1-150400.12.6.1SUSE-SU-2025:3744-1
openSUSELeap 15.6python-pytest-mock3.14.0-150400.13.6.1SUSE-SU-2025:3744-1
openSUSELeap 16.0tree-sitter-ruby0.23.1-160000.3.1openSUSE-SU-2026:20998-1
openSUSETumbleweedpython-bqplot0.12.45-10.1openSUSE-SU-2025:15269-1
openSUSETumbleweedpython-furo2024.8.6-3.1openSUSE-SU-2025:15270-1
11 more for openSUSE in the JSON and on openSUSE's page.
Alpinev3.22npm11.4.2-r0ALPINE-CVE-2025-5889
Azure Linux2js-jqueryno fix listedAZL-63704
Azure Linux2nodejs-nodemonno fix listedAZL-63707
Azure Linux2nodejs1818.20.3-9AZL-63881
Azure Linux3js-jqueryno fix listedAZL-63689
Azure Linux3nodejs-nodemonno fix listedAZL-63692

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Currently, no mitigation is available for this vulnerability.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7.1rhceph/rhceph-7-rhel9:1781863705Fixed 2026-06-29RHSA-2026:33154
Red Hat Openshift Data Foundation 4.14odf4/cephcsi-rhel9:v4.14-1764178221Fixed 2025-12-01RHSA-2025:22420
Red Hat Openshift Data Foundation 4.14odf4/mcg-cli-rhel9:v4.14-1764178222Fixed 2025-12-01RHSA-2025:22420
Red Hat Openshift Data Foundation 4.14odf4/mcg-core-rhel9:v4.14-1764178236Fixed 2025-12-01RHSA-2025:22420
Red Hat Openshift Data Foundation 4.14odf4/mcg-rhel9-operator:v4.14-1764178273Fixed 2025-12-01RHSA-2025:22420
Red Hat Openshift Data Foundation 4.14odf4/ocs-client-console-rhel9:v4.14-1764178715Fixed 2025-12-01RHSA-2025:22420
Red Hat Openshift Data Foundation 4.14odf4/ocs-client-rhel9-operator:v4.14-1764178261Fixed 2025-12-01RHSA-2025:22420
Red Hat Openshift Data Foundation 4.14odf4/ocs-metrics-exporter-rhel9:v4.14-1764178354Fixed 2025-12-01RHSA-2025:22420
Red Hat Openshift Data Foundation 4.14odf4/ocs-rhel9-operator:v4.14-1764178419Fixed 2025-12-01RHSA-2025:22420
Red Hat Openshift Data Foundation 4.14odf4/odf-console-rhel9:v4.14-1764178768Fixed 2025-12-01RHSA-2025:22420
Cryostat 4io.cryostat-cryostatFix deferred
Red Hat AMQ Broker 7jolokia-parentFix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-rhel9Fix deferred
Red Hat Ansible Automation Platform 2automation-controllerFix deferred
Red Hat Ansible Automation Platform 2automation-eda-controllerFix deferred
Red Hat Ansible Automation Platform 2automation-gatewayFix deferred
Red Hat build of Apache Camel - HawtIO 4io.hawt-projectFix deferred
Red Hat build of Apicurio Registry 2io.apicurio-apicurio-registryFix deferred
174 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-2025-5889.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement

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

References

Check your stackJSON