CVE-2026-9496

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.
Configurations

No configuration.

History

23 Jul 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Las versiones del paquete pacote a partir de la 11.2.7 son vulnerables a denegación de servicio (DoS) a través de la función addGitSha. Un atacante puede explotar esta vulnerabilidad al proporcionar un valor spec.rawSpec especialmente diseñado que activa la lógica de reemplazo de expresiones regulares y manipulación de cadenas de la función, causando un consumo excesivo de CPU y potencialmente paralizando o bloqueando el proceso.

27 Jun 2026, 16:16

Type Values Removed Values Added
Summary (en) Versions of the package pacote from 11.2.7 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. (en) 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.
References
  • () https://github.com/npm/pacote/commit/ce804fb1647fe1699b2f87efd01ea9f4efed8508 -

26 May 2026, 14:16

Type Values Removed Values Added
References () https://security.snyk.io/vuln/SNYK-JS-PACOTE-8225084 - () https://security.snyk.io/vuln/SNYK-JS-PACOTE-8225084 -
CWE CWE-400

26 May 2026, 07:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-26 07:16

Updated : 2026-07-23 11:10


NVD link : CVE-2026-9496

Mitre link : CVE-2026-9496

CVE.ORG link : CVE-2026-9496


JSON object : View

Products Affected

No product.

CWE
CWE-1333

Inefficient Regular Expression Complexity

CWE-400

Uncontrolled Resource Consumption