cve.bz

CVE-2026-21717 nodejs node.js: Use of Weak Hash

5.9 mediumEPSS 0.3%

Medium (5.9) in nodejs node.js. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-328 Use of Weak Hash
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-21717 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-21717?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-21717?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-21717 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nodejs nodefrom 20.20.1 through 20.20.1
nodejs nodefrom 22.22.1 through 22.22.1
nodejs nodefrom 24.14.0 through 24.14.0
nodejs nodefrom 25.8.1 through 25.8.1
nodejs nodefrom 4.0 before 4.*
nodejs nodefrom 5.0 before 5.*
nodejs nodefrom 6.0 before 6.*
nodejs nodefrom 7.0 before 7.*
nodejs nodefrom 8.0 before 8.*
nodejs nodefrom 9.0 before 9.*
nodejs nodefrom 10.0 before 10.*
nodejs nodefrom 11.0 before 11.*
nodejs nodefrom 12.0 before 12.*
nodejs nodefrom 13.0 before 13.*
nodejs nodefrom 14.0 before 14.*
nodejs nodefrom 15.0 before 15.*
nodejs nodefrom 16.0 before 16.*
nodejs nodefrom 17.0 before 17.*
nodejs nodefrom 18.0 before 18.*
nodejs nodefrom 19.0 before 19.*

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12nodejsno fix listedDEBIAN-CVE-2026-21717
Debian13nodejs20.19.2+dfsg-1+deb13u2DEBIAN-CVE-2026-21717 DSA-6183-1
Debian14nodejs22.22.2+dfsg+~cs22.19.15-1DEBIAN-CVE-2026-21717
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 6 morenodejsno fix listedUBUNTU-CVE-2026-21717
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.14.1-2.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.3-1.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:8::appstreamnpm1:11.11.0-1.24.14.1.2.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:8::appstreamv8-13.6-devel3:13.6.233.17-1.24.14.1.2.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.14.1-2.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.0.3-3.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:9::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:9::appstreamnpm1:11.11.0-1.24.14.1.2.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:9::appstreamv8-13.6-devel3:13.6.233.17-1.24.14.1.2.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:10.1nodejs24, nodejs24-docs, nodejs24-libs and 5 more1:24.14.1-2.el10_1RHSA-2026:7675
Red Hatenterprise_linux:10.1nodejs24-npm1:11.11.0-1.24.14.1.2.el10_1RHSA-2026:7675
8 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morenodejs1818.20.8-150400.9.39.1SUSE-SU-2026:4261-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morenodejs2020.20.2-150500.11.27.1SUSE-SU-2026:1371-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2222.22.2-150700.3.9.1SUSE-SU-2026:1478-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2424.14.1-150700.15.8.1SUSE-SU-2026:1299-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5nodejs1818.20.8-8.44.1SUSE-SU-2026:4248-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2020.20.2-150600.3.18.1SUSE-SU-2026:1363-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2222.22.2-150600.13.15.1SUSE-SU-2026:1509-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2222.23.0-160000.1.1SUSE-SU-2026:22368-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2424.14.1-160000.1.1SUSE-SU-2026:21181-1
openSUSELeap 16.0nodejs2222.23.0-160000.1.1openSUSE-SU-2026:21058-1
openSUSELeap 16.0nodejs2424.14.1-160000.1.1openSUSE-SU-2026:20519-1
openSUSETumbleweednodejs2424.14.1-1.1openSUSE-SU-2026:10504-1
openSUSETumbleweednodejs2626.3.1-1.1openSUSE-SU-2026:11110-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.14.1-2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux8nodejs-nodemon3.0.3-1.module_el8.10.0+4061+f8ceeab9ALSA-2026:7670
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:7670
AlmaLinux8npm1:11.11.0-1.24.14.1.2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.14.1.2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux9nodejs-nodemon3.0.3-3.module_el9.7.0+209+ecf6523eALSA-2026:7350
AlmaLinux9nodejs-packaging2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:7350
AlmaLinux9nodejs-packaging-bundler2021.06-6.module_el9.7.0+198+8bf605baALSA-2026:7350
AlmaLinux9npm1:11.11.0-1.24.14.1.2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux9v8-13.6-devel3:13.6.233.17-1.24.14.1.2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux10nodejs24-docs1:24.14.1-2.el10_1ALSA-2026:7675
1 more for AlmaLinux in the JSON.
Rocky Linux8nodejs-nodemon0:3.0.3-1.module+el8.10.0+2084+ab509703RLSA-2026:7670
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:7670
Rocky Linux9nodejs-nodemon0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2RLSA-2026:7350
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:7350
Rocky Linux10nodejs241:24.14.1-2.el10_1RLSA-2026:7675
Alpinev3.21, v3.22nodejs22.22.2-r0ALPINE-CVE-2026-21717
Alpinev3.23, v3.24nodejs24.14.1-r0ALPINE-CVE-2026-21717
Azure Linux3nodejs2424.14.1-1AZL-81245
Alpaquita23nodejs20.20.2-r0BELL-CVE-2026-21717
Alpaquita25nodejs22.22.2-r0BELL-CVE-2026-21717
Alpaquitastreamnodejs24.14.1-r0BELL-CVE-2026-21717
BellSoft Hardened Containers23nodejs20.20.2-r0BELL-CVE-2026-21717
BellSoft Hardened Containers25nodejs22.22.2-r0BELL-CVE-2026-21717
BellSoft Hardened Containersstreamnodejs24.14.1-r0BELL-CVE-2026-21717

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs24-1:24.14.1-2.el10_1Fixed 2026-04-13RHSA-2026:7675
Red Hat Enterprise Linux 8nodejs:24-8100020260408131901.6d880403Fixed 2026-04-13RHSA-2026:7670
Red Hat Enterprise Linux 9nodejs:24-9070020260402152654.rhel9Fixed 2026-04-09RHSA-2026:7350
Red Hat Hardened Imagesnodejs24-main-11.11.0-1.24.14.1.4.hum1Fixed 2026-04-01RHSA-2026:6402
Red Hat Hardened Imagesnodejs24-main-24.14.1-4.hum1Fixed 2026-04-01RHSA-2026:6402
Red Hat Hardened Imagesnodejs25-main-11.12.1-1.25.9.0.1.hum1Fixed 2026-04-02RHSA-2026:6431
Red Hat Hardened Imagesnodejs25-main-25.9.0-1.hum1Fixed 2026-04-02RHSA-2026:6431
Red Hat Hardened Imagesnodejs20-main-10.8.2-1.20.20.0.7.1.hum1Fixed 2026-04-10RHSA-2026:7386
Red Hat Hardened Imagesnodejs20-main-20.20.0-7.1.hum1Fixed 2026-04-10RHSA-2026:7386
Red Hat Hardened Imagesnodejs22-main-10.9.4-1.22.22.0.1.3.hum1Fixed 2026-04-10RHSA-2026:7387
Red Hat Hardened Imagesnodejs22-main-22.22.0-1.3.hum1Fixed 2026-04-10RHSA-2026:7387
Red Hat Enterprise Linux 10nodejs22Fix deferred
Red Hat Enterprise Linux 8nodejs:20/nodejsFix deferred
Red Hat Enterprise Linux 8nodejs:22/nodejsFix deferred
Red Hat Enterprise Linux 9nodejs:20/nodejsFix deferred
Red Hat Enterprise Linux 9nodejs:22/nodejsFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-21717.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-68 Subvert Code-signing Facilities Likelihood: Low · Severity: Very High
  • CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON