Inefficient Regular Expression Complexity Affecting nodejs:22/nodejs package, versions <1:22.23.1-2.module+el9.6.0+24604+449f851b


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.36% (30th 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 IDSNYK-RHEL9-NODEJS-18602721
  • published10 Aug 2026
  • disclosed30 Jun 2026

Introduced: 30 Jun 2026

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

How to fix?

Upgrade RHEL:9 nodejs:22/nodejs to version 1:22.23.1-2.module+el9.6.0+24604+449f851b or higher.
This issue was patched in RHSA-2026:52399.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:22/nodejs package and not the nodejs:22/nodejs package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

brace-expansion through 5.0.6 is vulnerable to denial of service. The expand() function exhibits exponential-time complexity in the number of consecutive non-expanding '{}' brace groups. An attacker who passes a crafted string to expand(), directly or transitively, can cause significant CPU consumption and event-loop blocking. The max option does not mitigate this, as it bounds the output size rather than the recursion work.

CVSS Base Scores

version 3.1