Critical Security Update for Node.js: Remote Crash Vulnerability (CVE-2025-23166)
Summary
ALSA-2025:8506: Important: nodejs:22 security update. Affects nodejs versions < 1:22.16.0-1.module_el8.10.0+4006+3c416519. Fixed in 1:22.16.0-1.module_el8.10.0+4006+3c416519. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Node.js is a powerful software development platform designed for building fast and scalable network applications using JavaScript. It is widely used for server-side development and is known for its event-driven architecture, which allows for efficient handling of multiple connections. However, like any software, Node.js is susceptible to vulnerabilities that can compromise its stability and security. The recent vulnerability identified as CVE-2025-23166 poses a significant risk, allowing for remote crashes through a flaw in the SignTraits::DeriveBits() function.
Vulnerability Detail
The vulnerability CVE-2025-23166 in Node.js arises from a flaw in the SignTraits::DeriveBits() function, which can be exploited to cause a remote crash. This issue can lead to service disruptions and potential data loss, making it critical for users to address it promptly. The vulnerability is particularly concerning for applications relying on Node.js for handling network requests, as it can be triggered by malicious inputs, resulting in unexpected behavior and crashes.
How To Fix
Minimum fixed version
1:22.16.0-1.module_el8.10.0+4006+3c416519
This is the first release that contains the fix.
sudo dnf update nodejs
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can limit the exposure of their Node.js applications by implementing strict input validation and sanitization to mitigate the risk of triggering the vulnerability until the update can be applied.
Conclusion
The CVE-2025-23166 vulnerability in Node.js poses a significant risk, allowing for remote crashes that can disrupt services and compromise application stability. It is crucial for users to update to the patched versions of Node.js and its related packages to mitigate this risk. Implementing input validation can serve as a temporary measure until updates are applied.
See every vulnerability recorded for nodejs →
FAQ
CVE-2025-23166 is a security vulnerability in Node.js that allows for remote crashes through a flaw in the SignTraits::DeriveBits() function.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If immediate updates are not possible, implement strict input validation and sanitization as a temporary workaround to reduce the risk of exploitation.
Yes, several related packages such as nodejs-devel, nodejs-docs, and npm are also affected and should be updated to their patched versions.
Failing to address this vulnerability can lead to service disruptions, crashes, and potential data loss, impacting the reliability of applications built on Node.js.
Related vulnerabilities
Recent vulnerabilities recorded for nodejs.