CVE-2025-23166 json
The C++ method SignTraits::DeriveBits() may incorrectly call ThrowException() based on user-supplied inputs when executing in a background…
published 2025-05-19 17 mo ago modified 2026-06-17 4 mo ago also BIT-node-2025-23166 , BIT-node-min-2025-23166 , EUVD-2025-15702
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami node 20.19.2, 22.15.1, 24.0.2
- bitnami node-min 20.19.2, 22.15.1, 24.0.2
- nodejs node.js 20.19.2, 22.15.1, 23.11.1, 24.0.2
- oracle graalvm 17.0.16, 21.0.8, 24.0.2
- oracle graalvm_for_jdk 17.0.16, 21.0.8, 24.0.2
- nodejs Debian 12 18.20.4+dfsg-1~deb12u2
- nodejs Debian 14, Debian 13 20.19.2+dfsg-1
debian advisories DEBIAN-CVE-2025-23166
- npm RHEL 8 1:10.8.2-1.20.19.2.1.module+el8.10.0+23139+21ba74c5
- nodejs RHEL 8 1:20.19.2-1.module+el8.10.0+23139+21ba74c5
- nodejs-nodemon RHEL 8 3.0.1-1.module+el8.10.0+23139+21ba74c5
- nodejs-full-i18n RHEL 8 1:20.19.2-1.module+el8.10.0+23139+21ba74c5
- nodejs-packaging RHEL 8 2021.06-4.module+el8.10.0+23139+21ba74c5
- nodejs-packaging-bundler RHEL 8 2021.06-4.module+el8.10.0+23139+21ba74c5
- npm RHEL 8 1:10.9.2-1.22.16.0.1.module+el8.10.0+23140+4056b950
- nodejs RHEL 8 1:22.16.0-1.module+el8.10.0+23140+4056b950
red hat advisories RHSA-2025:8902RHSA-2025:8514RHSA-2025:8506RHSA-2025:8493RHSA-2025:8467RHSA-2025:8468
- nodejs16 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 16.20.2-150400.3.42.1
- nodejs18 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 18.20.8-150400.9.39.1
- nodejs20 SLE Module for Web and Scripting 15 SP6, openSUSE Leap 15.6 20.19.2-150600.3.12.1
- nodejs20 SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 20.19.2-150500.11.21.1
- nodejs22 SLE Module for Web and Scripting 15 SP7 22.15.1-150700.3.3.1
- nodejs22 SLE Module for Web and Scripting 15 SP6, openSUSE Leap 15.6 22.15.1-150600.13.9.1
- nodejs18 SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 18.20.8-8.44.1
suse advisories SUSE-SU-2026:4355-1SUSE-SU-2026:4261-1SUSE-SU-2026:4248-1SUSE-SU-2025:02045-1SUSE-SU-2025:02039-1SUSE-SU-2025:01879-1
- nodejs26 openSUSE Tumbleweed 26.3.1-1.1
- nodejs24 openSUSE Tumbleweed 24.11.1-2.1
- nodejs22 openSUSE Tumbleweed 22.15.1-1.1
opensuse advisories openSUSE-SU-2026:11110-1openSUSE-SU-2025:15802-1openSUSE-SU-2025:15250-1
- npm AlmaLinux 8 1:10.9.2-1.22.16.0.1.module_el8.10.0+4006+3c416519
- nodejs AlmaLinux 8 1:22.16.0-1.module_el8.10.0+4006+3c416519
- nodejs-libs AlmaLinux 8 1:22.16.0-1.module_el8.10.0+4006+3c416519
- nodejs-nodemon AlmaLinux 8 3.0.1-1.module_el8.10.0+3983+391a1a04
- nodejs-full-i18n AlmaLinux 8 1:22.16.0-1.module_el8.10.0+4006+3c416519
- nodejs-packaging AlmaLinux 8 2021.06-4.module_el8.10.0+4006+3c416519
- nodejs-packaging-bundler AlmaLinux 8 2021.06-4.module_el8.10.0+3961+6a788e57
- npm AlmaLinux 8 1:10.8.2-1.20.19.2.1.module_el8.10.0+4007+01f7d99b
almalinux advisories ALSA-2025:8506ALSA-2025:8514ALSA-2025:8467ALSA-2025:8468
- nodejs22 Rocky Linux 10 1:22.16.0-1.el10_0
- nodejs Rocky Linux 9 1:22.16.0-1.module+el9.6.0+32144+1d29a396
- nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.5.0+31770+0da7192d
- nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32322+a8b1fd01
- nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32045+2e5d342d
- nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32143+ae966e5b
- nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32144+1d29a396
- nodejs-nodemon Rocky Linux 9 3.0.1-1.module+el9.6.0+32185+bd121a25
rocky linux advisories RLSA-2025:8493RLSA-2025:8467RLSA-2025:8468RLSA-2025:8506RLSA-2025:8514
- nodejs Alpine 3.21 22.15.1-r0
- nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 22.16.0-r0
alpine advisories ALPINE-CVE-2025-23166
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nodejs Azure Linux 3.0 20.14.0-9
- nodejs18 CBL-Mariner 2.0 18.20.3-8
azure linux advisories AZL-61919AZL-65066
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-23166 updated cvss 7.5
nodejs: Remote Crash via SignTraits::DeriveBits() in Node.js
-
Red Hat Enterprise Linux AppStream (v. 8) nodejs 20.19.2-1.module+el8.10.0+23139+21ba74c5, nodejs 22.16.0-1.module+el8.10.0+23140+4056b950, nodejs-libs 22.16.0-1.module+el8.10.0+23140+4056b950, nodejs-nodemon 3.0.1-1.module+el8.10.0+23139+21ba74c5, nodejs-nodemon 3.0.1-1.module+el8.10.0+23140+4056b950, npm 10.8.2-1.20.19.2.1.module+el8.10.0+23139+21ba74c5, +7 morefixed: vendor fix RHSA-2025:8514
-
Red Hat Enterprise Linux AppStream (v. 9) nodejs 20.19.2-1.module+el9.6.0+23146+be9976bd, nodejs 22.16.0-1.module+el9.6.0+23151+b1496e9d, nodejs-libs 22.16.0-1.module+el9.6.0+23151+b1496e9d, nodejs-nodemon 3.0.1-1.module+el9.6.0+23062+9e7801b9, nodejs-nodemon 3.0.1-1.module+el9.6.0+23146+be9976bd, npm 10.8.2-1.20.19.2.1.module+el9.6.0+23146+be9976bd, +7 morefixed: vendor fix RHSA-2025:8468
-
Red Hat Enterprise Linux AppStream (v. 10) nodejs 22.16.0-1.el10_0, nodejs22 22.16.0-1.el10_0, nodejs-libs 22.16.0-1.el10_0, nodejs-full-i18n 22.16.0-1.el10_0, nodejs-npm 10.9.2-1.22.16.0.1.el10_0fixed: vendor fix RHSA-2025:8493
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) nodejs 20.19.2-2.module+el9.4.0+23180+d266bac7, npm 10.8.2-1.20.19.2.2.module+el9.4.0+23180+d266bac7, nodejs-nodemon 3.0.1-1.module+el9.3.0.z+20478+84a9f781, nodejs-full-i18n 20.19.2-2.module+el9.4.0+23180+d266bac7, nodejs-packaging 2021.06-4.module+el9.3.0+19518+63aad52d, nodejs-packaging-bundler 2021.06-4.module+el9.3.0+19518+63aad52dfixed: vendor fix RHSA-2025:8902
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.82% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | node | <20.19.2 >=21.0.0, <22.15.1 >=23.0.0, <24.0.2 |
20.19.2 22.15.1 24.0.2 |
| bitnami | node-min | <20.19.2 >=21.0.0, <22.15.1 >=23.0.0, <24.0.2 |
20.19.2 22.15.1 24.0.2 |
Affected products
- nodejs node
Classification
- Weakness
-
- CWE-248 Uncaught Exception
- Technology feeds
References
Sources
- CVE List CVE-2025-23166
- NVD CVE-2025-23166
- OSV BIT-node-2025-23166
- OSV BIT-node-min-2025-23166
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.