#VU124876 Inefficient regular expression complexity in brace-expansion - CVE-2026-25547

 

#VU124876 Inefficient regular expression complexity in brace-expansion - CVE-2026-25547

Published: April 6, 2026


Vulnerability identifier: #VU124876
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-25547
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
brace-expansion
Software vendor:
Julian Gruber

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing untrusted input with a regular expressions. When a remote attacker provides a pattern containing repeated numeric brace ranges, the library attempts to eagerly generate every possible combination synchronously. Because the expansion grows exponentially, even a small input can consume excessive CPU and memory and may crash the Node.js process.


Remediation

Install updates from vendor's website.

External links