CVE-2025-23166
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.0•HIGH•Score: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.81%• Percentile: 55%
Techniques & Countermeasures
- CWE-248•Uncaught Exception
An exception is thrown from a function, but it is not caught.
Affected Systems
- alpine•nodejs
< 22.15.1-r0 | < 22.16.0-r0 | < 22.16.0-r0 | < 22.16.0-r0
- chainguard•nodejs-16
< 16.20.2-r15
- chainguard•nodejs-18
all
- chainguard•nodejs-21
< 21.7.3-r12
- wolfi•nodejs-16
< 16.20.2-r15
- wolfi•nodejs-18
all
- wolfi•nodejs-21
< 21.7.3-r12
- debian•nodejs
< 18.20.4+dfsg-1~deb12u2 | < 20.19.2+dfsg-1 | < 20.19.2+dfsg-1
- nodejs•node
≥ 4.0, < 4.* | ≥ 5.0, < 5.* | ≥ 6.0, < 6.* | ≥ 7.0, < 7.* | ≥ 8.0, < 8.* | ≥ 9.0, < 9.* | ≥ 10.0, < 10.* | ≥ 11.0, < 11.* | ≥ 12.0, < 12.* | ≥ 13.0, < 13.* | ≥ 14.0, < 14.* | ≥ 15.0, < 15.* | ≥ 16.0, < 16.* | ≥ 17.0, < 17.* | ≥ 18.0, < 18.* | ≥ 19.0, < 19.* | ≥ 20.0, ≤ 20.19.1 | ≥ 22.0, ≤ 22.15.0 | ≥ 23.0, ≤ 23.11.0 | ≥ 24.0, ≤ 24.0.1 | ≥ 21.0, < 21.*
- redhat•nodejs
< 1:20.19.2-2.module+el9.4.0+23180+d266bac7
- redhat•nodejs-debuginfo
< 1:20.19.2-2.module+el9.4.0+23180+d266bac7
- redhat•nodejs-debugsource
< 1:20.19.2-2.module+el9.4.0+23180+d266bac7
- redhat•nodejs-devel
< 1:20.19.2-2.module+el9.4.0+23180+d266bac7
- redhat•nodejs-docs
< 1:20.19.2-2.module+el9.4.0+23180+d266bac7
- redhat•nodejs-full-i18n
< 1:20.19.2-2.module+el9.4.0+23180+d266bac7
- redhat•nodejs-nodemon
< 0:3.0.1-1.module+el9.3.0.z+20478+84a9f781
- redhat•nodejs-packaging
< 0:2021.06-4.module+el9.3.0+19518+63aad52d
- redhat•nodejs-packaging-bundler
< 0:2021.06-4.module+el9.3.0+19518+63aad52d
- redhat•npm
< 1:10.8.2-1.20.19.2.2.module+el9.4.0+23180+d266bac7
References (10)
- https://nodejs.org/en/blog/vulnerability/may-2025-security-releases
- https://access.redhat.com/errata/RHSA-2025:8902
- https://access.redhat.com/security/updates/classification/#important
- https://bugzilla.redhat.com/show_bug.cgi?id=2367163
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_8902.json
- https://access.redhat.com/security/cve/CVE-2025-23166
- https://www.cve.org/CVERecord?id=CVE-2025-23166
- https://nvd.nist.gov/vuln/detail/CVE-2025-23166
- https://security-tracker.debian.org/tracker/CVE-2025-23166
- https://security.alpinelinux.org/vuln/CVE-2025-23166