CVE-2026-126051

NameCVE-2026-126051
DescriptionA deferred-callback use-after-destroy in Node.js TLS server handshake handling allows a remote, unauthenticated attacker to terminate the server process. When a TLS server uses any of the SNICallback, OCSPRequest, newSession, or resumeSession hooks, or server.addContext(), the corresponding OpenSSL callbacks are deferred, and the deferred code does not handle the underlying socket being destroyed between scheduling and execution. By sending a client hello that reaches the vulnerable path (for example, no SNI together with an OCSP request) followed by padding and a socket FIN, an attacker makes OpenSSL deliver the client hello and the end-of-file in the same tick, so the socket is destroyed before the deferred callback runs and the process raises an uncaught exception instead of emitting an 'error' event. This vulnerability affects Node.js 26.x and 24.x.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1153855

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nodejs (PTS)bookworm18.20.4+dfsg-1~deb12u2vulnerable
bookworm (security)18.20.4+dfsg-1~deb12u3vulnerable
trixie (security), trixie20.19.2+dfsg-1+deb13u3vulnerable
forky24.22.2+dfsg+~cs24.19.2-1vulnerable
sid24.22.3+dfsg+~cs24.19.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nodejssource(unstable)24.22.3+dfsg+~cs24.19.2-11153855

Notes

https://nodejs.org/en/blog/vulnerability/november-2026-security-releases#nodejs-is-vulnerable-to-a-remotely-triggerable-uncaught-exception-in-tls-servers-via-deferred-handshake-callbacks-cve-2026-126051---high

Search for package or bug name: Reporting problems