CVE Watchtower

CVE-2026-21717Nodejs Node.js Use of Weak Hash

NVDCVSS scored by NVD (NIST)

Vulnerability Summary

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**.
Severity Level
MEDIUM(5.9)
Published Date
Mar 30, 2026
Last Modified
Aug 19, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.27%Probability
Root Weakness (CWE)
The product uses an algorithm that produces a digest (output value) that does not meet security expectations for a hash function that allows an adversary to reasonably determine the original input (preimage attack), find another input that can produce the same hash (2nd preimage attack), or find...
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Nodejs Node.js <= 20.20.1
  • Nodejs Node.js >= 22.0.0 and <= 22.22.1
  • Nodejs Node.js >= 24.0.0 and <= 24.14.0
  • Nodejs Node.js >= 25.0.0 and <= 25.8.1
  • nodejs node >= 20.20.1 and <= 20.20.1
  • nodejs node >= 22.22.1 and <= 22.22.1
  • nodejs node >= 24.14.0 and <= 24.14.0
  • nodejs node >= 25.8.1 and <= 25.8.1
  • nodejs node >= 4.0 and < 4.*
  • nodejs node >= 5.0 and < 5.*
  • nodejs node >= 6.0 and < 6.*
  • nodejs node >= 7.0 and < 7.*
  • nodejs node >= 8.0 and < 8.*
  • nodejs node >= 9.0 and < 9.*
  • nodejs node >= 10.0 and < 10.*
  • nodejs node >= 11.0 and < 11.*
  • nodejs node >= 12.0 and < 12.*
  • nodejs node >= 13.0 and < 13.*
  • nodejs node >= 14.0 and < 14.*
  • nodejs node >= 15.0 and < 15.*
  • nodejs node >= 16.0 and < 16.*
  • nodejs node >= 17.0 and < 17.*
  • nodejs node >= 18.0 and < 18.*
  • nodejs node >= 19.0 and < 19.*
Patched Versions
  • nodejs node 20.20.1
  • nodejs node 22.22.1
  • nodejs node 24.14.0
  • nodejs node 25.8.1
  • nodejs node 4.*
  • nodejs node 5.*
  • nodejs node 6.*
  • nodejs node 7.*
  • nodejs node 8.*
  • nodejs node 9.*
  • nodejs node 10.*
  • nodejs node 11.*
  • nodejs node 12.*
  • nodejs node 13.*
  • nodejs node 14.*
  • nodejs node 15.*
  • nodejs node 16.*
  • nodejs node 17.*
  • nodejs node 18.*
  • nodejs node 19.*

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Nodejs Node.js and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Mar 30, 2026Published
  • Aug 19, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Nodejs Node.js CVEsYou are reading CVE-2026-21717. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 27, 2026 20:15 UTC