CVE-2025-5889 Details
Description
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.
A vulnerability exists in the 'brace-expansion' package by juliangruber, specifically in versions up to 1.1.11. The issue arises in the 'expand' function within 'index.js', where inefficient regular expression processing can be exploited to create a denial-of-service condition. This vulnerability can be triggered remotely, but doing so requires a high level of complexity and skill.
Users are advised to update to version 1.1.12 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 9, 2025CISA-ADP
Assessed Jun 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/mmmsssttt404/37a40ce7d6e5ca604858fe30814d9466 | [email protected] | Exploit |
| https://github.com/juliangruber/brace-expansion/pull/65/commits/a5b98a4f30d7813266b221435e1eaaf25a1b0ac5 | [email protected] | Source CodeVendor |
| https://github.com/juliangruber/brace-expansion/releases/tag/v4.0.1 | [email protected] | |
| https://vuldb.com/?ctiid.311660 | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/?id.311660 | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/?submit.585717 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| juliangruber brace-expansion | <= 1.1.11 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jun 11, 2025 | CVE Modified | [email protected] |
| Jun 9, 2025 | New CVE Received | [email protected] |
Volerion