{"id":"UBUNTU-CVE-2026-9496","details":"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.","modified":"2026-06-29T23:19:16.862532802Z","published":"2026-05-26T07:16:00Z","upstream":["CVE-2026-9496"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-9496"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-9496"},{"type":"REPORT","url":"https://security.snyk.io/vuln/SNYK-JS-PACOTE-8225084"}],"affected":[{"package":{"name":"npm","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/npm?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.18~dfsg-3","1.3.10~dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.10~dfsg-1","binary_name":"npm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"}},{"package":{"name":"npm","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/npm?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.21+ds-2","3.5.2-0ubuntu4","3.5.2-0ubuntu4.1.16.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"npm","binary_version":"3.5.2-0ubuntu4.1.16.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"}},{"package":{"name":"npm","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/npm?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.2-0ubuntu4","3.5.2-0ubuntu4.1.18.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"npm","binary_version":"3.5.2-0ubuntu4.1.18.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"}},{"package":{"name":"npm","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/npm?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.8.0+ds6-4","6.14.4+ds-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"6.14.4+ds-1ubuntu2","binary_name":"npm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"}},{"package":{"name":"npm","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/npm?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.5.2+ds-2","7.24.2+ds-1","7.24.2+ds-2","8.3.0~ds-1","8.3.0~ds-2","8.3.2~ds-1","8.5.0~ds-1","8.5.1~ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.5.1~ds-1","binary_name":"npm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"}},{"package":{"name":"npm","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/npm?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.0~ds1-1","9.2.0~ds1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"npm","binary_version":"9.2.0~ds1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"}},{"package":{"name":"npm","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/npm?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.0~ds1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"9.2.0~ds1-3","binary_name":"npm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"}},{"package":{"name":"npm","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/npm?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.0~ds1-3","9.2.0~ds2-2","9.2.0~ds3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.2.0~ds3-1","binary_name":"npm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}