{"id":"CVE-2026-9496","published":"2026-05-26T05:00:07Z","modified":"2026-07-07T15:25:27Z","title":"Versions of the package pacote from 11.2.7 and before 21.5.1 are vulnerable to Denial of Service (DoS) via the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00346,"percentile":0.28895,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-PACOTE-8225084","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16874025","tags":[]},{"url":"https://github.com/npm/pacote/blob/9d7459440826ab4cf962ef98d8f3fd0c4d464b5c/lib/util/add-git-sha.js%23L2C1-L13C2","tags":[]},{"url":"https://github.com/npm/pacote/commit/ce804fb1647fe1699b2f87efd01ea9f4efed8508","tags":[]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":5.78},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"pacote","versions":[">= 11.2.7, < 21.5.1"]},{"vendor":"n/a","product":"org.webjars.npm:pacote","versions":[">= 11.2.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-26T12:34:38.845728Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"pacote","vulnerableRanges":[">=11.2.7, <21.5.1"],"patched":["21.5.1"],"from":["GHSA-w4pp-8pjf-rmxw"],"provenance":"source"}],"summary":{"text":"The pacote npm package (versions from 11.2.7 up to, but not including, 21.5.1) contains a flaw in its addGitSha function, which handles spec.rawSpec values. An attacker who can supply a specially crafted spec.rawSpec value that triggers the function's regex and string-manipulation logic can cause excessive CPU consumption, potentially stalling or crashing the process, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:44Z"},"euvd":{"id":"EUVD-2026-31793","exploited":false,"provenance":"source"}}