CVE-2025-27209: HashDoS in V8

Published Jul 15, 2025
·
Updated

The V8 release used in Node.js v24.0.0 has changed how string hashes are computed using rapidhash. This implementation re-introduces the HashDoS vulnerability as an attacker who can control the strings to be hashed can generate many hash collisions - an attacker can generate collisions even without knowing the hash-seed.

This vulnerability affects Node.js v24.x users.

Other sources

The V8 release used in Node.js v24.0.0 has changed how string hashes are computed using rapidhash. This implementation re-introduces the HashDoS vulnerability as an attacker who can control the strings to be hashed can generate many hash collisions - an attacker can generate collisions even without knowing the hash-seed.

While the V8 team does not classify this as a security vulnerability, the Node.js project considers it one due to its potential impact in real-world scenarios.

— Node.Js

Affected Software

2 affected componentsFixes available
Node.js Node.js>=24.0.0
Node.js Node.js>=24.0.0<24.4.1
24.4.1

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.4.1

Event History

Jul 15, 2025
CVE Published
via Node.js·12:00 AM
Data Sourced
via Node.js·12:00 AM
DescriptionSeverityAffected Software
Jul 18, 2025
CVE Published
via MITRE·10:54 PM
Data Sourced
via MITRE·10:54 PM
DescriptionSeverity
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-27209?

CVE-2025-27209 is classified as a medium severity vulnerability due to its potential for causing denial of service through hash collisions.

2

How do I fix CVE-2025-27209?

To fix CVE-2025-27209, upgrade Node.js to the latest version where the hashing algorithm has been addressed.

3

What type of vulnerability is CVE-2025-27209?

CVE-2025-27209 is a HashDoS vulnerability resulting from changes in string hash computation.

4

Who is affected by CVE-2025-27209?

CVE-2025-27209 affects all users running Node.js version 24.0.0 and earlier who are using the V8 engine.

5

Can attackers exploit CVE-2025-27209 remotely?

Yes, attackers can exploit CVE-2025-27209 remotely if they can control the strings that are being hashed.

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