cve.bz

CVE-2025-23166 nodejs node: Uncaught Exception

7.5 highEPSS 0.8%

High (7.5) in nodejs node. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-05-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-248 Uncaught Exception
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-23166 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-23166?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-23166?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-23166 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nodejs nodefrom 4.0 before 4.*
nodejs nodefrom 5.0 before 5.*
nodejs nodefrom 6.0 before 6.*
nodejs nodefrom 7.0 before 7.*
nodejs nodefrom 8.0 before 8.*
nodejs nodefrom 9.0 before 9.*
nodejs nodefrom 10.0 before 10.*
nodejs nodefrom 11.0 before 11.*
nodejs nodefrom 12.0 before 12.*
nodejs nodefrom 13.0 before 13.*
nodejs nodefrom 14.0 before 14.*
nodejs nodefrom 15.0 before 15.*
nodejs nodefrom 16.0 before 16.*
nodejs nodefrom 17.0 before 17.*
nodejs nodefrom 18.0 before 18.*
nodejs nodefrom 19.0 before 19.*
nodejs nodefrom 20.0 through 20.19.1
nodejs nodefrom 22.0 through 22.15.0
nodejs nodefrom 23.0 through 23.11.0
nodejs nodefrom 24.0 through 24.0.1
nodejs nodefrom 21.0 before 21.*

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12nodejs18.20.4+dfsg-1~deb12u2DEBIAN-CVE-2025-23166 DSA-6272-1
Debian13, 14nodejs20.19.2+dfsg-1DEBIAN-CVE-2025-23166
Ubuntu24.04:LTSnodejsno fix listedUBUNTU-CVE-2025-23166
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:20.19.2-1.module+el8.10.0+23139+21ba74c5RHSA-2025:8514
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.16.0-1.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.10.0+23139+21ba74c5RHSA-2025:8514
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.10.0+23139+21ba74c5RHSA-2025:8514
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:8::appstreamnpm1:10.8.2-1.20.19.2.1.module+el8.10.0+23139+21ba74c5RHSA-2025:8514
Red Hatenterprise_linux:8::appstreamnpm1:10.9.2-1.22.16.0.1.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:8::appstreamv8-12.4-devel3:12.4.254.21-1.22.16.0.1.module+el8.10.0+23140+4056b950RHSA-2025:8506
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:20.19.2-1.module+el9.6.0+23146+be9976bdRHSA-2025:8468
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.16.0-1.module+el9.6.0+23151+b1496e9dRHSA-2025:8467
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.0.1-1.module+el9.6.0+23062+9e7801b9RHSA-2025:8467
12 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morenodejs1818.20.8-150400.9.39.1SUSE-SU-2026:4261-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morenodejs1616.20.2-150400.3.42.1SUSE-SU-2026:4355-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morenodejs2020.19.2-150500.11.21.1SUSE-SU-2025:02039-1
SUSELinux Enterprise Module for Web and Scripting 15 SP6nodejs2020.19.2-150600.3.12.1SUSE-SU-2025:02045-1
SUSELinux Enterprise Module for Web and Scripting 15 SP6nodejs2222.15.1-150600.13.9.1SUSE-SU-2025:01878-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2222.15.1-150700.3.3.1SUSE-SU-2025:01879-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5nodejs1818.20.8-8.44.1SUSE-SU-2026:4248-1
openSUSELeap 15.6nodejs2020.19.2-150600.3.12.1SUSE-SU-2025:02045-1
openSUSELeap 15.6nodejs2222.15.1-150600.13.9.1SUSE-SU-2025:01878-1
openSUSETumbleweednodejs2222.15.1-1.1openSUSE-SU-2025:15250-1
openSUSETumbleweednodejs2424.11.1-2.1openSUSE-SU-2025:15802-1
openSUSETumbleweednodejs2626.3.1-1.1openSUSE-SU-2026:11110-1
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:20.19.2-1.module_el8.10.0+4007+01f7d99bALSA-2025:8514
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:22.16.0-1.module_el8.10.0+4006+3c416519ALSA-2025:8506
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.10.0+3982+85c136aaALSA-2025:8514
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.10.0+3983+391a1a04ALSA-2025:8506
AlmaLinux8nodejs-packaging2021.06-4.module_el8.10.0+3987+dbda4426ALSA-2025:8514
AlmaLinux8nodejs-packaging2021.06-4.module_el8.10.0+4006+3c416519ALSA-2025:8506
AlmaLinux8nodejs-packaging-bundler2021.06-4.module_el8.10.0+3958+472a6467ALSA-2025:8514
AlmaLinux8nodejs-packaging-bundler2021.06-4.module_el8.10.0+3961+6a788e57ALSA-2025:8506
AlmaLinux8npm1:10.8.2-1.20.19.2.1.module_el8.10.0+4007+01f7d99bALSA-2025:8514
AlmaLinux8npm1:10.9.2-1.22.16.0.1.module_el8.10.0+4006+3c416519ALSA-2025:8506
AlmaLinux8v8-12.4-devel3:12.4.254.21-1.22.16.0.1.module_el8.10.0+4006+3c416519ALSA-2025:8506
AlmaLinux9nodejs, nodejs-docs, nodejs-devel and 1 more1:20.19.2-1.module_el9.6.0+169+c9cb05c2ALSA-2025:8468
9 more for AlmaLinux in the JSON.
Rocky Linux8nodejs1:20.19.2-1.module+el8.10.0+1988+437f3d23RLSA-2025:8514
Rocky Linux8nodejs1:22.16.0-1.module+el8.10.0+1989+e60144d9RLSA-2025:8506
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2025:8506 RLSA-2025:8514
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.10.0+1667+4a788d89RLSA-2025:8506 RLSA-2025:8514
22 more for Rocky Linux in the JSON.
Alpinev3.21nodejs22.15.1-r0ALPINE-CVE-2025-23166
Alpinev3.22, v3.23, v3.24nodejs22.16.0-r0ALPINE-CVE-2025-23166
Azure Linux2nodejs1818.20.3-8AZL-65066
Azure Linux3nodejs20.14.0-9AZL-61919
Alpaquita23nodejsno fix listedBELL-CVE-2025-23166
Alpaquita23, 25, streamopenjdk-nik-23-1723.0.9-r0BELL-CVE-2025-23166
Alpaquita23, 25, streamopenjdk-nik-23-2123.1.8-r0BELL-CVE-2025-23166
Alpaquita23, 25, streamopenjdk-nik-24-2424.2.2-r0BELL-CVE-2025-23166
Alpaquitastreamnodejs22.16.0-r0BELL-CVE-2025-23166
BellSoft Hardened Containers23nodejsno fix listedBELL-CVE-2025-23166
BellSoft Hardened Containers23, 25, streamopenjdk-nik-23-1723.0.9-r0BELL-CVE-2025-23166
BellSoft Hardened Containers23, 25, streamopenjdk-nik-23-2123.1.8-r0BELL-CVE-2025-23166
BellSoft Hardened Containers23, 25, streamopenjdk-nik-24-2424.2.2-r0BELL-CVE-2025-23166
BellSoft Hardened Containersstreamnodejs22.16.0-r0BELL-CVE-2025-23166

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs22-1:22.16.0-1.el10_0Fixed 2025-06-04RHSA-2025:8493
Red Hat Enterprise Linux 8nodejs:22-8100020250527102348.6d880403Fixed 2025-06-04RHSA-2025:8506
Red Hat Enterprise Linux 8nodejs:20-8100020250521115949.489197e6Fixed 2025-06-04RHSA-2025:8514
Red Hat Enterprise Linux 9nodejs:22-9060020250529115509.rhel9Fixed 2025-06-03RHSA-2025:8467
Red Hat Enterprise Linux 9nodejs:20-9060020250529100856.rhel9Fixed 2025-06-03RHSA-2025:8468
Red Hat Enterprise Linux 9.4 Extended Update Supportnodejs:20-9040020250603124021.rhel9Fixed 2025-06-11RHSA-2025:8902

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-23166.

References

Check your stackJSON