CVE-2026-21717: nodejs node Use of Weak Hash
Vulnerability summary
CVE-2026-21717 is a medium (CVSS 5.9) Use of Weak Hash vulnerability in nodejs node. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 17.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 22 · Related 14Timeline
- 30-03-2026PublishedVulnerability first disclosed.
- 10-05-2026Last modifiedVulnerability information updated.
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 metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.9MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
0.00 pp
From 0.27% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard5 products
- nodejs-16All versions (No fix recorded)
- nodejs-18All versions (No fix recorded)
- nodejs-21All versions (No fix recorded)
- nodejs-22< 22.22.3-r0
- nodejs-23All versions (No fix recorded)
Wolfi5 products
- nodejs-16All versions (No fix recorded)
- nodejs-18All versions (No fix recorded)
- nodejs-21All versions (No fix recorded)
- nodejs-22< 22.22.3-r0
- nodejs-23All versions (No fix recorded)
Nodejs2 products
- node20.20.1 | 22.22.1 | 24.14.0 | 25.8.1 | ≥ 4.0, < 4.* | ≥ 5.0, < 5.* | ≥ 6.0, < 6.* | ≥ 7.0, < 7.* | ≥ 8.0, < 8.* | ≥ 9.0, < 9.* | ≥ 10.0, < 10.* | ≥ 11.0, < 11.* | ≥ 12.0, < 12.* | ≥ 13.0, < 13.* | ≥ 14.0, < 14.* | ≥ 15.0, < 15.* | ≥ 16.0, < 16.* | ≥ 17.0, < 17.* | ≥ 18.0, < 18.* | ≥ 19.0, < 19.*
- node.js≤ 20.20.1 | ≥ 22.0.0, ≤ 22.22.1 | ≥ 24.0.0, ≤ 24.14.0 | ≥ 25.0.0, ≤ 25.8.1
Alpine1 product
- nodejs< 22.22.2-r0 | < 24.14.1-r0
Debian1 product
- nodejsAll versions (No fix recorded) | < 20.19.2+dfsg-1+deb13u2 | < 22.22.2+dfsg+~cs22.19.15-1
Ubuntu1 product
- nodejsAll versions (No fix recorded)
6 vendors · 15 products