CVE-2026-21717: HashDoS in V8

Published Mar 24, 2026
·
Updated

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.

Other sources

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.

— Node.Js

Affected Software

14 affected componentsFixes available
Node.js Node.js>=20.0.0<21.0.0, >=22.0.0<23.0.0, >=24.0.0<25.0.0, >=25.0.0<26.0.0
Microsoft azl3 nodejs24 24.13.0-3
Nodejs Node.js<=20.20.1
Nodejs Node.js>=22.0.0<=22.22.1
Nodejs Node.js>=24.0.0<=24.14.0
Nodejs Node.js>=25.0.0<=25.8.1
Microsoft azl3 nodejs 20.14.0-15<24.14.1-3
24.14.1-3
Microsoft azl3 nodejs24 24.13.0-3<24.14.1-1
24.14.1-1
Node.js Node.js>=20.0.0<20.20.2, >=22.0.0<22.22.2, >=24.0.0<24.14.1, >=25.0.0<25.8.2
20.20.222.22.224.14.125.8.2
Node.js Node.js>=20.0.0<20.20.2
20.20.2
Node.js Node.js>=22.0.0<22.22.2
22.22.2
Node.js Node.js>=24.0.0<24.14.1
24.14.1
Node.js Node.js>=25.0.0<25.8.2
25.8.2
Node.js Node.js>=26.0.0<26.0.0
26.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.14.1-3
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.14.1-1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.20.2Fixed in 22.22.2Fixed in 24.14.1Fixed in 25.8.2
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.20.2
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.22.2
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.14.1
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 25.8.2
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.0.0

Event History

Mar 24, 2026
CVE Published
via Node.js·03:00 AM
Data Sourced
via Node.js·03:00 AM
DescriptionSeverityAffected Software
Mar 30, 2026
CVE Published
via MITRE·07:07 PM
Data Sourced
via MITRE·07:07 PM
DescriptionSeverity
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software
Apr 1, 2026
Data Sourced
via Microsoft·08:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-21717?

CVE-2026-21717 has been rated as a moderate severity vulnerability due to its potential to degrade performance.

2

How do I fix CVE-2026-21717?

To fix CVE-2026-21717, update Node.js to version 21.0.0 or later.

3

What types of applications are affected by CVE-2026-21717?

CVE-2026-21717 affects applications built on Node.js versions 20.0.0 through 26.0.0.

4

What are the potential consequences of CVE-2026-21717?

Exploitation of CVE-2026-21717 can lead to significant performance degradation in applications using V8's string hashing.

5

Is there a workaround for CVE-2026-21717?

Currently, there are no known workarounds for CVE-2026-21717 apart from upgrading to a fixed version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203