A deferred-callback use-after-destroy in Node.js TLS server handshake handling allows a remote, unauthenticated attacker to terminate the server proce...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSnodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSnodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSnodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSnodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSnodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSnodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10nodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSnodejs |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report nodejs.org
- report cna.openjsf.org
- report nodejs.org