CVEfocus › CVE database › CVE-2025-5889

CVE-2025-5889juliangruber brace-expansion index.js expand redos

CVSS 3.1 LowEPSS 0.8% (higher than 52% of CVEs)Published 2025-06-09Updated 2025-06-11Assigner: VulDB

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.

CWE-1333CWE-400

What to do

Fixed builds are available from Alpine, 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

4Fixed
58Fix pending
2Under investigation
1Will not fix
1Not 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.04node-brace-expansionNot affected
vulnerable_code_not_present
Ubuntu 25.10node-brace-expansionWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-5889
Ubuntu 24.04node-brace-expansionUnder investigationUBUNTU-CVE-2025-5889
Ubuntu 22.04node-brace-expansionUnder investigationUBUNTU-CVE-2025-5889
Ubuntu 20.04node-brace-expansionFix pendingUBUNTU-CVE-2025-5889
Ubuntu 18.04node-brace-expansionFix pendingUBUNTU-CVE-2025-5889
Debian 14node-brace-expansionFixed2.0.1+~1.1.0-2DEBIAN-CVE-2025-5889
Debian 13node-brace-expansionFixed2.0.1+~1.1.0-2DEBIAN-CVE-2025-5889
Debian 12node-brace-expansionFix pendingDEBIAN-CVE-2025-5889
Red Hat Enterprise Linux 10389-ds-baseFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-nodemonFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs22Fix pending
Fix deferred
Red Hat Enterprise Linux 9389-ds-baseFix pending
Fix deferred
Red Hat Enterprise Linux 9389-ds-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 9389-ds-base-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9389-ds-base-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 9gjsFix pending
Fix deferred
Red Hat Enterprise Linux 9gjs-develFix pending
Fix deferred
Red Hat Enterprise Linux 9grafanaFix pending
Fix deferred
Red Hat Enterprise Linux 9grafana-selinuxFix 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-lib389Fix pending
Fix deferred
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 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 8v8-12.4-develFix pending
Fix deferred
Red Hat Enterprise Linux 8v8-13.6-develFix pending
Fix deferred
Red Hat Enterprise Linux 7firefoxFix pending
Fix deferred
Red Hat Enterprise Linux 7thunderbirdFix pending
Fix deferred
Alpine Linux 3.22npmFixed11.4.2-r0ALPINE-CVE-2025-5889
npm librarybrace-expansionFixed4.0.1GHSA-v6h2-p8h4-qcjw

What the vendor says

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

Vendor advisories:

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.