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

Tue, 26 May 2026 16:15:00 +0000

Type Values Removed Values Added
Title Denial of Service via RegExp Replacement in pacote addGitSha Function

Tue, 26 May 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 26 May 2026 07:45:00 +0000

Type Values Removed Values Added
Title Denial of Service via RegExp Replacement in pacote addGitSha Function

Tue, 26 May 2026 06:30:00 +0000

Type Values Removed Values Added
Description 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.
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2026-05-26T05:00:07.813Z

Updated: 2026-05-26T12:41:58.078Z

Reserved: 2026-05-25T09:30:49.118Z

Link: CVE-2026-9496

cve-icon Vulnrichment

Updated: 2026-05-26T12:34:11.254Z

cve-icon NVD

Status : Received

Published: 2026-05-26T07:16:19.410

Modified: 2026-05-26T14:16:44.420

Link: CVE-2026-9496

cve-icon Redhat

No data.