Improper error handling in Node.js - CVE-2025-23166

 

Improper error handling in Node.js - CVE-2025-23166

Published: May 16, 2025


Vulnerability identifier: #VU109241
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-23166
CWE-ID: CWE-388
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to incorrect error handling in async cryptographic operations within the SignTraits::DeriveBits() function. A remote attacker can send specially crafted input to the application can crash the Node.js runtime.


Affected software

Node.js
Arch Linux
Debian Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
Red Hat Enterprise Linux for Power, little endian
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Web and Scripting Module
openSUSE Leap
openEuler
Fedora
Netcool Operations Insight
EasyApache
IBM Business Automation Workflow
IBM Documentation Offline
App Connect Enterprise Certified Container
watsonx Orchestrate with watsonx Assistant Cartridge - UAB Component
Splunk Universal Forwarder
Splunk Enterprise
IBM App Connect Enterprise
Oracle GraalVM for JDK
nodejs-nodemon
npm
v8-devel
nodejs (Debian package)
nodejs-devel
nodejs-docs
nodejs-libs
nodejs-full-i18n
nodejs-debugsource
nodejs-debuginfo
nodejs
nodejs-lts-iron
nodejs20
nodejs20-debuginfo
corepack20
nodejs20-devel
nodejs20-debugsource
npm20
nodejs20-docs
nodejs-lts-jod
nodejs22
nodejs22-docs
corepack22
nodejs22-debugsource
nodejs22-devel
npm22
nodejs22-debuginfo
nodejs22 (Red Hat package)
nodejs-packaging
nodejs-packaging-bundler

How to mitigate CVE-2025-23166

Install updates from vendor's website.

Node.js - addressed in versions 20.19.2, 22.15.1, 23.11.1, 24.0.2
Netcool Operations Insight - update to 1.6.15
EasyApache - update to 4 25-16
watsonx Orchestrate with watsonx Assistant Cartridge - UAB Component - update to 5.2.1
Splunk Universal Forwarder - addressed in versions 9.2.12, 9.3.9, 9.4.8, 10.0.3
Splunk Enterprise - addressed in versions 9.2.12, 9.3.9, 9.4.8, 10.0.3
IBM App Connect Enterprise - addressed in versions 12.0.12.16, 13.0.4.1
IBM Documentation Offline - update to 1.2.0
nodejs-nodemon - update to 3.0.1-1
npm - update to 10.8.2-1.20.18.2.3
npm - update to 10.8.2-1.20.19.2.1
v8-devel - update to 11.3.244.8-1.20.18.2.3
App Connect Enterprise Certified Container - addressed in versions 12.0.14, 12.14.0
nodejs (Debian package) - update to 18.20.4+dfsg-1~deb12u2
nodejs-devel - update to 20.18.2-3
nodejs-docs - update to 20.18.2-3
nodejs-libs - update to 20.18.2-3
nodejs-full-i18n - update to 20.18.2-3
nodejs-debugsource - update to 20.18.2-3
nodejs-debuginfo - update to 20.18.2-3
nodejs - update to 20.18.2-3
nodejs-lts-iron - update to 20.19.2-1
nodejs-docs - update to 20.19.2-1
nodejs-full-i18n - update to 20.19.2-1
nodejs-devel - update to 20.19.2-1
nodejs - update to 20.19.2-1
nodejs20 - addressed in versions 20.19.2-1.fc41, 20.19.2-1.fc42
nodejs20-debuginfo - addressed in versions 20.19.2-150500.11.21.1, 20.19.2-150600.3.12.1
corepack20 - addressed in versions 20.19.2-150500.11.21.1, 20.19.2-150600.3.12.1
nodejs20-devel - addressed in versions 20.19.2-150500.11.21.1, 20.19.2-150600.3.12.1
nodejs20-debugsource - addressed in versions 20.19.2-150500.11.21.1, 20.19.2-150600.3.12.1
nodejs20 - addressed in versions 20.19.2-150500.11.21.1, 20.19.2-150600.3.12.1
npm20 - addressed in versions 20.19.2-150500.11.21.1, 20.19.2-150600.3.12.1
nodejs20-docs - addressed in versions 20.19.2-150500.11.21.1, 20.19.2-150600.3.12.1
nodejs-lts-jod - update to 22.15.1-1
nodejs22 - addressed in versions 22.15.1-1.fc41, 22.15.1-1.fc42
nodejs22-docs - addressed in versions 22.15.1-150600.13.9.1, 22.15.1-150700.3.3.1
corepack22 - update to 22.15.1-150600.13.9.1
nodejs22-debugsource - addressed in versions 22.15.1-150600.13.9.1, 22.15.1-150700.3.3.1
nodejs22-devel - addressed in versions 22.15.1-150600.13.9.1, 22.15.1-150700.3.3.1
npm22 - addressed in versions 22.15.1-150600.13.9.1, 22.15.1-150700.3.3.1
nodejs22 - addressed in versions 22.15.1-150600.13.9.1, 22.15.1-150700.3.3.1
nodejs22-debuginfo - addressed in versions 22.15.1-150600.13.9.1, 22.15.1-150700.3.3.1
nodejs22 (Red Hat package) - update to 22.16.0-1.el10_0
nodejs - update to 23.11.1-1
nodejs-packaging - update to 2021.06-4
nodejs-packaging-bundler - update to 2021.06-4

External References

Related Security Bulletins