CVE-2025-23166
npm vulnerability analysis and mitigation

Overview

A high-severity vulnerability (CVE-2025-23166) was discovered in Node.js affecting all active release lines (20.x, 22.x, 23.x, 24.x). The vulnerability was disclosed on May 14, 2025, and involves improper error handling in async cryptographic operations that can lead to process crashes (Node.js Blog, NVD).

Technical details

The vulnerability exists in the C++ method SignTraits::DeriveBits() which may incorrectly call ThrowException() based on user-supplied inputs when executing in a background thread. This issue specifically occurs during cryptographic operations that are commonly applied to untrusted inputs. The vulnerability has received a CVSS v3.0 base score of 7.5 (High) with a vector string of CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability allows an adversary to remotely crash a Node.js runtime, affecting the availability of the service. This impacts all users across the active Node.js release lines: 20.x, 22.x, 23.x, and 24.x (Node.js Blog).

Mitigation and workarounds

Node.js has released security updates to address this vulnerability. The fixed versions are: Node.js v20.19.2, v22.15.1, v23.11.1, and v24.0.2. Users are strongly advised to upgrade to these patched versions (Node.js Blog).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management