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

Published Jun 9, 2025
·
Updated

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.

Affected Software

5 affected componentsFixes available
npm/brace-expansion=4.0.0
4.0.1
npm/brace-expansion=3.0.0
3.0.1
npm/brace-expansion>=1.0.0<=1.1.11
1.1.12
npm/brace-expansion>=2.0.0<=2.0.1
2.0.2
IBM Concert Software<=1.0.0-2.2.0

Event History

Jun 9, 2025
CVE Published
via MITRE·06:16 PM
Data Sourced
via MITRE·06:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:30 PM
Data Sourced
via GitHub·09:30 PM
DescriptionSeverityWeaknessAffected Software
Apr 6, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-5889?

CVE-2025-5889 has been rated as problematic, indicating it poses a significant risk.

2

What component is affected by CVE-2025-5889?

CVE-2025-5889 affects the function 'expand' in the file 'index.js' of the brace-expansion package.

3

How does CVE-2025-5889 exploit inefficiencies?

CVE-2025-5889 allows attackers to cause inefficient regular expression complexity, potentially leading to remote attacks.

4

Which versions of the brace-expansion package are affected by CVE-2025-5889?

CVE-2025-5889 affects brace-expansion versions up to 1.1.11 and between 2.0.1 and 4.0.0.

5

How do I fix CVE-2025-5889?

To fix CVE-2025-5889, update the brace-expansion package to a version newer than 1.1.11.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2025-5889 - juliangruber brace-expansion index.js expand redos - SecAlerts