cve.bz

CVE-2026-9496 Uncontrolled Resource Consumption

7.7 highEPSS 0.3%Fix available

High (7.7). EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in pacote 21.5.1.

On this page
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.

Severity

CVSS 4.0

7.7 high
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:P

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-05-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1333 Inefficient Regular Expression Complexity
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-9496 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-9496?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-9496?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-9496 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w4pp-8pjf-rmxwnpmpacote>=11.2.7 <21.5.121.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13npmno fix listedDEBIAN-CVE-2026-9496
Debian14npm12.0.2+ds1-1DEBIAN-CVE-2026-9496
Ubuntu14.04:LTS, 20.04:LTS, 22.04:LTS and 6 morenpmno fix listedUBUNTU-CVE-2026-9496
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.23.2-2.module+el8.10.0+24957+74108fbfRHSA-2026:75870
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.1.14-2.module+el8.10.0+24710+c2e9b41fRHSA-2026:75870
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24710+c2e9b41fRHSA-2026:75870
Red Hatenterprise_linux:8::appstreamnpm1:10.9.8-1.22.23.2.2.module+el8.10.0+24957+74108fbfRHSA-2026:75870
Red Hatenterprise_linux:8::appstreamv8-12.4-devel3:12.4.254.21-1.22.23.2.2.module+el8.10.0+24957+74108fbfRHSA-2026:75870
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.23.2-2.module+el9.8.0+24958+80b2ac6eRHSA-2026:76750
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.1.14-2.module+el9.8.0+24709+804d6b5bRHSA-2026:76750
Red Hatenterprise_linux:9::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el9.8.0+24709+804d6b5bRHSA-2026:76750
Red Hatenterprise_linux:9::appstreamnpm1:10.9.8-1.22.23.2.2.module+el9.8.0+24958+80b2ac6eRHSA-2026:76750
Red Hatenterprise_linux:9::appstreamv8-12.4-devel3:12.4.254.21-1.22.23.2.2.module+el9.8.0+24958+80b2ac6eRHSA-2026:76750
Red Hatenterprise_linux:10.2nodejs, nodejs22, nodejs-docs and 7 more1:22.23.2-3.el10_2RHSA-2026:75864
Red Hatenterprise_linux:10.2nodejs-npm1:10.9.8-1.22.23.2.3.el10_2RHSA-2026:75864
8 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morenodejs2020.20.2-150500.11.30.1SUSE-SU-2026:3930-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2222.23.0-150700.3.12.1SUSE-SU-2026:2695-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2424.17.0-150700.15.11.1SUSE-SU-2026:2633-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2020.20.2-150600.3.21.1SUSE-SU-2026:3929-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2222.23.0-150600.13.18.1SUSE-SU-2026:2647-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2222.23.0-160000.1.1SUSE-SU-2026:22368-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2424.18.0-160000.1.1SUSE-SU-2026:22565-1
openSUSELeap 16.0nodejs2222.23.0-160000.1.1openSUSE-SU-2026:21058-1
openSUSELeap 16.0nodejs2424.18.0-160000.1.1openSUSE-SU-2026:21236-1
openSUSETumbleweednodejs2424.17.0-1.1openSUSE-SU-2026:11121-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:22.23.2-2.module_el8.10.0+4296+737cb4d7ALSA-2026:75870
AlmaLinux8nodejs-nodemon3.1.14-2.module_el8.10.0+4252+aedd4c30ALSA-2026:75870
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:75870
AlmaLinux8npm1:10.9.8-1.22.23.2.2.module_el8.10.0+4296+737cb4d7ALSA-2026:75870
AlmaLinux8v8-12.4-devel3:12.4.254.21-1.22.23.2.2.module_el8.10.0+4296+737cb4d7ALSA-2026:75870
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:22.23.2-2.module_el9.8.0+322+f4aa738cALSA-2026:76750
AlmaLinux9nodejs-nodemon3.1.14-2.module_el9.8.0+302+959ebcd4ALSA-2026:76750
AlmaLinux9nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el9.7.0+227+12323393ALSA-2026:76750
AlmaLinux9npm1:10.9.8-1.22.23.2.2.module_el9.8.0+322+f4aa738cALSA-2026:76750
AlmaLinux9v8-12.4-devel3:12.4.254.21-1.22.23.2.2.module_el9.8.0+322+f4aa738cALSA-2026:76750
AlmaLinux10nodejs-docs1:22.23.2-3.el10_2ALSA-2026:75864
Rocky Linux8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40277+b1b3f89eRLSA-2026:75870
Rocky Linux8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40278+50b003a3RLSA-2026:75870
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:75870
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:75870
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:75870
Rocky Linux9nodejs1:22.23.2-2.module+el9.8.0+40374+17512296RLSA-2026:76750
Rocky Linux9nodejs-nodemon0:3.1.14-2.module+el9.8.0+40264+d9b257bbRLSA-2026:76750
Rocky Linux9nodejs-nodemon0:3.1.14-2.module+el9.8.0+40280+057606e8RLSA-2026:76750
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:76750
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:76750
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:76750
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.8.0+40164+8921ab53RLSA-2026:76750
1 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A flaw was found in the pacote npm package. Pacote retrieves package metadata and archives from npm registries, Git repositories, and other sources. In affected versions, the addGitSha function strips Git committish information from a package specification using a regular expression that is vulnerable to inefficient backtracking. An attacker who can supply a crafted spec.rawSpec value can cause the Node.js process that calls pacote to consume excessive CPU and become unresponsive, resulting in denial of service.

Red Hat products that include pacote versions from 11.2.7 up to (but not including) 21.5.1 may be affected when Node.js workloads process package specifications through pacote or through npm operations that depend on pacote. The impact is limited to the Node.js process performing that work; host operating systems are not directly affected.

Red Hat's mitigation

To mitigate this limit the length of incoming package specifiers (spec.rawSpec) before they reach the resolution service. Enforce hard CPU time limits or timeouts on isolated build jobs and package resolution processes.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs22-1:22.23.2-3.el10_2Fixed 2026-10-05RHSA-2026:75864
Red Hat Enterprise Linux 10.0 Extended Update Supportnodejs22-1:22.23.2-2.el10_0Fixed 2026-10-19RHSA-2026:84703
Red Hat Enterprise Linux 8nodejs:22-8100020260928121333.6d880403Fixed 2026-10-05RHSA-2026:75870
Red Hat Enterprise Linux 9nodejs:22-9080020260928121441.rhel9Fixed 2026-10-08RHSA-2026:76750
Red Hat Enterprise Linux 9.6 Extended Update Supportnodejs:22-9060020261009101511.rhel9Fixed 2026-10-19RHSA-2026:84589
Red Hat Ansible Automation Platform 2.2ansible-automation-platform/bootc-automation-portal-rhel9:1792641102Fixed 2026-10-22RHSA-2026:88200
Red Hat Hardened Imagesgrafana12-4-main-12.4.10-0.8.hum1Fixed 2026-09-25RHSA-2026:72116
Red Hat Hardened Imagesgrafana12-4-main-12.4.10-0.9.hum1Fixed 2026-09-28RHSA-2026:72497
Red Hat OpenShift Dev Spaces 3.31devspaces/dashboard-rhel9:1791945540Fixed 2026-10-26RHSA-2026:90321
Red Hat OpenShift Dev Spaces 3.31devspaces/openvsx-rhel9:1792494821Fixed 2026-10-26RHSA-2026:90321
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Will not fix
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Affected
Migration Toolkit for Applications 8mta/mta-cli-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-generic-external-provider-rhel9Not affected
Red Hat 3scale API Management Platform 23scale-amp2/toolbox-rhel9Not affected
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Fix deferred
Red Hat Connectivity Link 1rhcl-1/rhcl-console-plugin-rhel9Not affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10nodejs24Not affected
Red Hat Enterprise Linux 10nodejs26Not affected
18 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-9496.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON