Red Hat VEX
RHVEX-CVE-2026-9496
pacote: Pacote: Denial of Service via crafted spec.rawSpec value in addGitSha function
Details
A flaw was found in the pacote component. A remote attacker can exploit this denial of service (DoS) vulnerability by providing a specially crafted input to the addGitSha function. This malicious input triggers excessive CPU consumption due to regex replacement and string manipulation, which can lead to the process stalling or crashing.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | nodejs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-docs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-full-i18n | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-nodemon | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-packaging | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | nodejs-packaging-bundler | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | npm | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | v8-12.4-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | v8-13.6-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | nodejs | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | nodejs-docs | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | nodejs-full-i18n | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | nodejs-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | npm | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2026-9496
- https://bugzilla.redhat.com/show_bug.cgi?id=2481394
- https://www.cve.org/CVERecord?id=CVE-2026-9496
- https://nvd.nist.gov/vuln/detail/CVE-2026-9496
- https://github.com/npm/pacote/blob/9d7459440826ab4cf962ef98d8f3fd0c4d464b5c/lib/util/add-git-sha.js%23L2C1-L13C2
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16874025
- https://security.snyk.io/vuln/SNYK-JS-PACOTE-8225084