CVE-2026-25547
Denial of Service in @isaacs/brace-expansion via Unbounded Brace Expansion
Publication date: 2026-02-04
Last updated on: 2026-02-04
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| isaacs | brace-expansion | to 5.0.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-1333 | The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability exists in the @isaacs/brace-expansion library prior to version 5.0.1. It is a denial of service (DoS) issue caused by unbounded brace range expansion. When an attacker provides a pattern with repeated numeric brace ranges, the library tries to generate every possible combination synchronously. Because the number of combinations grows exponentially, even a small input can consume excessive CPU and memory resources, potentially crashing the Node.js process.
How can this vulnerability impact me? :
This vulnerability can lead to a denial of service condition by exhausting CPU and memory resources on the affected system. An attacker can cause the Node.js process using the vulnerable library to crash by supplying specially crafted input patterns, resulting in service downtime or disruption.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, upgrade the @isaacs/brace-expansion package to version 5.0.1 or later, where the issue has been patched.