Inefficient Regular Expression Complexity Affecting nodejs:22/nodejs-packaging-bundler package, versions <0:2021.06-6.module+el9.8.0+24709+804d6b5b


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.35% (26th 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-20677945
  • published9 Oct 2026
  • disclosed26 May 2026

Introduced: 26 May 2026

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

How to fix?

Upgrade RHEL:9 nodejs:22/nodejs-packaging-bundler to version 0:2021.06-6.module+el9.8.0+24709+804d6b5b or higher.
This issue was patched in RHSA-2026:76750.

NVD Description

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

Versions of the package pacote from 11.2.7 and before 21.5.1 are vulnerable to Denial of Service (DoS) via the addGitSha function. An attacker can exploit this vulnerability by supplying a specially crafted spec.rawSpec value that triggers the function’s regex replacement and string-manipulation logic, causing excessive CPU consumption and potentially stalling or crashing the process.

CVSS Base Scores

version 3.1