CVE-2025-23166: Improper error handling in async cryptographic operations crashes process

Published May 14, 2025
·
Updated

The C++ method SignTraits::DeriveBits() may incorrectly call ThrowException() based on user-supplied inputs when executing in a background thread, crashing the Node.js process. Such cryptographic operations are commonly applied to untrusted inputs. Thus, this mechanism potentially allows an adversary to remotely crash a Node.js runtime.

Affected Software

6 affected componentsFixes available
Node.js Node.js
Node.js Node.js>=20.0.0<20.19.2, >=22.0.0<22.15.1, >=23.0.0<23.11.1, >=24.0.0<24.0.2
20.19.222.15.123.11.124.0.2
Node.js Node.js>=20.0.0<20.19.2
20.19.2
Node.js Node.js>=22.0.0<22.15.1
22.15.1
Node.js Node.js>=23.0.0<23.11.1
23.11.1
Node.js Node.js>=24.0.0<24.0.2
24.0.2

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 20.19.2Fixed in 22.15.1Fixed in 23.11.1Fixed in 24.0.2
  2. Upgrade

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

    Fixed in 20.19.2
  3. Upgrade

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

    Fixed in 22.15.1
  4. Upgrade

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

    Fixed in 23.11.1
  5. Upgrade

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

    Fixed in 24.0.2

Event History

May 14, 2025
CVE Published
via Node.js·03:00 AM
Data Sourced
via Node.js·03:00 AM
DescriptionSeverityAffected Software
May 19, 2025
CVE Published
via MITRE·01:25 AM
Data Sourced
via MITRE·01:25 AM
DescriptionSeverity
Data Sourced
via Red Hat·02:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-23166?

CVE-2025-23166 has a high severity rating due to the potential for it to crash the Node.js process based on untrusted inputs.

2

How do I fix CVE-2025-23166?

To fix CVE-2025-23166, update your Node.js installation to the latest version where this vulnerability has been addressed.

3

What software is affected by CVE-2025-23166?

CVE-2025-23166 affects all versions of Node.js that include the SignTraits::DeriveBits() method.

4

Can CVE-2025-23166 lead to security risks?

Yes, CVE-2025-23166 can lead to security risks as it may allow adversaries to exploit crashes in cryptographic operations.

5

What happens if CVE-2025-23166 is exploited?

If CVE-2025-23166 is exploited, it may lead to a denial of service by crashing the Node.js process, impacting application availability.

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