Name | CVE-2025-23166 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1105832 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
nodejs (PTS) | bullseye | 12.22.12~dfsg-1~deb11u4 | fixed |
bullseye (security) | 12.22.12~dfsg-1~deb11u7 | fixed | |
bookworm | 18.19.0+dfsg-6~deb12u2 | vulnerable | |
bookworm (security) | 18.19.0+dfsg-6~deb12u1 | vulnerable | |
sid, trixie | 20.19.2+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
nodejs | source | bullseye | (not affected) | |||
nodejs | source | (unstable) | 20.19.2+dfsg-1 | 1105832 |
[bullseye] - nodejs <not-affected> (The vulnerable code was introduced later)
https://nodejs.org/en/blog/vulnerability/may-2025-security-releases#improper-error-handling-in-async-cryptographic-operations-crashes-process-cve-2025-23166---high
Introduced by: https://github.com/nodejs/node/commit/e60841b598ed5246c8dfc24a779c6b1b732d4f87 (v16.14.0)
Fixed by: https://github.com/nodejs/node/commit/6c57465920cf1b981a63031e71b1e4a73bf9beaa (v20.19.2)