CVE-2026-21717Use of Weak Hash in Node

CWE-328Use of Weak Hash9 documents8 sources
Severity
5.9MEDIUMNVD
EPSS
0.0%
top 92.66%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 30

Description

A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable. By crafting a request that causes many such collisions in V8's internal string table, an attacker can significantly degrade performance of the Node.js process. The most common trigger is any endpoint that calls `JSON.parse()` on attacker-controlled input, as JSON parsing automatically internalizes short strings into the affected hash table. This

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 2.2 | Impact: 3.6

Affected Packages3 packages

CVEListV5nodejs/node4.04.*+19
Alpinenodejs/nodejs< 22.22.2-r0+2
Debiannodejs/nodejs< 20.19.2+dfsg-1+deb13u2+1

🔴Vulnerability Details

4
CVEList
CVE-2026-21717: A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable2026-03-30
GHSA
GHSA-326m-34v3-gv5p: A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable2026-03-30
OSV
CVE-2026-21717: A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable2026-03-30
OSV
CVE-2026-21717: A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable2026-03-30

📋Vendor Advisories

2
Red Hat
nodejs: v8: Node.js: Denial of Service via V8 string hashing mechanism due to predictable hash collisions2026-03-30
Debian
CVE-2026-21717: nodejs - A flaw in V8's string hashing mechanism causes integer-like strings to be hashed...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-21717 Impact, Exploitability, and Mitigation Steps | Wiz

💬Community

1
Bugzilla
CVE-2026-21717 nodejs: v8: Node.js: Denial of Service via V8 string hashing mechanism due to predictable hash collisions2026-03-30
CVE-2026-21717 — Use of Weak Hash in Nodejs Node | cvebase