Inefficient Regular Expression Complexity Affecting nodejs-npm package, versions <1:10.9.7-1.22.22.2.1.el10_1


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY10-NODEJSNPM-16053755
  • published15 Apr 2026
  • disclosed4 Feb 2026

Introduced: 4 Feb 2026

CVE-2026-25547  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:10 nodejs-npm to version 1:10.9.7-1.22.22.2.1.el10_1 or higher.
This issue was patched in RLSA-2026:7080.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-npm package and not the nodejs-npm package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:10 relevant fixed versions and status.

@isaacs/brace-expansion is a hybrid CJS/ESM TypeScript fork of brace-expansion. Prior to version 5.0.1, @isaacs/brace-expansion is vulnerable to a denial of service (DoS) issue caused by unbounded brace range expansion. When an 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. This issue has been patched in version 5.0.1.

CVSS Base Scores

version 3.1