Vulnerability
CVE-2026-126051
A 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.
16 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2023-2026-3457
Amazon Linux 2023 - ALAS2023-2026-3457: Important priority package update for nodejs24
-
ALPINE-CVE-2026-126051
A 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,…
- ALPINE-EDGE-CVE-2026-126051
- CGA-6pqc-7q3f-qjx4
- CGA-6wj3-g6c2-h6wc
- CGA-q8cp-vqgr-vr2h
- CGA-xpg4-6g55-p83g
-
CNA-CVE-2026-126051
Node.js is vulnerable to a remotely triggerable uncaught exception in TLS servers via deferred handshake callbacks
-
DEBIAN-CVE-2026-126051
A 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,…
-
RHSA-2026:93603
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:99435
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:99436
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2026-126051
nodejs: nodejs: Denial of service via premature socket closure during TLS handshake
-
SUSEVEX-CVE-2026-126051
A 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,…
-
UBUNTU-CVE-2026-126051
A 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,…
-
openSUSE-SU-2026:12570-1
corepack24-24.22.3-1.1 on GA media