Skip to content
NewA calmer, faster ZeroHour

CVE-2026-126051

Use-after-destroy DoS in Node.js TLS handshake

CVSS 3.0
7.5 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-126051 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

A deferred-callback use-after-destroy in Node.js TLS server handshake handling lets a remote, unauthenticated attacker crash the process. It applies when a TLS server uses SNICallback, OCSPRequest, newSession, or resumeSession, or server.addContext(). A crafted client hello (for example no SNI plus an OCSP request), padding, and a socket FIN can destroy the socket before the deferred OpenSSL callback runs, raising an uncaught exception. Node.js 26.x and 24.x are affected.

What to do: Apply the Node.js project's November 11 security release for CVE-2026-126051. No workaround is stated.

ProductAffected
Node.js26.x and 24.x
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Weakness
CWE-476
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

In the news

1 story