REDHAT-BUG-2571861: High severity OpenJS Foundation Node.js vulnerability

Published Nov 11, 2026
·
Updated

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

1 affected component
OpenJS Foundation Node.js>=24.0.0<25.0.0, >=26.0.0<27.0.0

Event History

Nov 11, 2026
Data Sourced
via Red Hat·06:51 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which Node.js TLS server deployments are exposed?

Affected deployments are Node.js 26.x or 24.x TLS servers that use SNICallback, OCSPRequest, newSession, resumeSession, or server.addContext(). The issue is in deferred handling of the corresponding OpenSSL callbacks.

2

Does exploitation require authentication or prior access?

No. A remote, unauthenticated attacker can trigger the condition by sending a crafted TLS ClientHello that reaches a vulnerable callback path and then closing the socket in a way that causes the ClientHello and EOF to be processed in the same tick.

3

What is the practical impact of a successful attack?

The Node.js server process can terminate when deferred callback handling encounters a socket that was destroyed before the callback executes. The failure is an uncaught exception rather than a normal error event.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203