CVE-2026-21717
Received Received - Intake
Hash Collision Vulnerability in V8 String Hashing Causes Node.js DoS

Publication date: 2026-03-30

Last updated on: 2026-03-30

Assigner: HackerOne

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 vulnerability affects **20.x, 22.x, 24.x, and 25.x**.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-30
Last Modified
2026-03-30
Generated
2026-05-09
AI Q&A
2026-03-30
EPSS Evaluated
2026-05-08
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
node.js node.js From 20.0.0 (inc) to 25.0.0 (inc)
nodejs node.js From 20.0 (inc) to 25.999 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a flaw in V8's string hashing mechanism where integer-like strings are hashed to their numeric value. This makes hash collisions trivially predictable.

An attacker can exploit this by crafting requests that cause many such collisions in V8's internal string table, significantly degrading the performance of the Node.js process.

The most common way to trigger this is through any endpoint that calls JSON.parse() on attacker-controlled input, since JSON parsing automatically internalizes short strings into the affected hash table.


How can this vulnerability impact me? :

This vulnerability can significantly degrade the performance of the Node.js process by causing many predictable hash collisions.

Such degradation can lead to denial of service or slow response times, impacting the availability and reliability of applications using the affected Node.js versions.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart