BIT-node-2026-126051: Node.js is vulnerable to a remotely triggerable uncaught exception in TLS servers via deferred handshake callbacks
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 24.22.3 - Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 26.13.1 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 24.22.3 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 26.13.1
Event History
Frequently Asked Questions
Which deployments are exposed to this denial-of-service condition?
Node.js 26.x and 24.x TLS servers are affected when they use SNICallback, OCSPRequest, newSession, or resumeSession hooks, or call server.addContext(). The affected software entries are bitnami/node and bitnami/node-min.
What does an attacker need to exploit it?
An attacker needs network access to the TLS server only; no authentication or user interaction is required. They can send a crafted TLS ClientHello that reaches a vulnerable callback path, followed by padding and a socket FIN, to trigger an uncaught exception and terminate the process.
Are TLS servers using default settings necessarily affected?
The described vulnerable path requires use of one of the listed TLS hooks or server.addContext(). The provided data does not establish that a TLS server without those features enabled is affected.
What is the operational impact if exploitation succeeds?
The Node.js server process terminates because the condition raises an uncaught exception rather than emitting an error event. This is an availability impact; no confidentiality or integrity impact is indicated by the supplied severity vector.