CVE-2026-126051

Node.js is vulnerable to a remotely triggerable uncaught exception in TLS servers via deferred handshake callbacks

Published Nov 11, 2026 CVSS 3.1 · 7.5 High EPSS 1.1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

This vulnerability is a deferred‑callback use‑after‑destroy in Node.js TLS server handshake handling. When a TLS server employs any of the SNICallback, OCSPRequest, newSession, resumeSession hooks or server.addContext(), OpenSSL callbacks are deferred. If the underlying socket is destroyed before the deferred callback executes, the process terminates with an uncaught exception rather than emitting an error event. The consequence is a denial‑of‑service condition where an unauthenticated attacker can crash the Node.js process by sending a crafted client hello followed by a socket FIN.

Affected Systems

The flaw impacts Node.js versions 24.x and 26.x. Systems running a Node.js TLS server that uses any of the aforementioned hooks or server contexts are vulnerable. All Node.js releases prior to the advisory patch are affected; applying the patched version removes the vulnerability.

Risk and Exploitability

The CVSS score of 7.5 classifies it as high severity. EPSS shows a probability of exploitation less than 1 %, and the vulnerability is not listed in the CISA KEV catalog. The attack path requires an unauthenticated client that can send a TLS client hello with no SNI coupled with an OCSP request or other deferred callback trigger, then close the connection to cause the server to crash. The vulnerability is remote but does not grant code execution, and it requires the malicious traffic to reach the target network.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Node.js runtime to the latest 26.x or 24.x release that contains the TLS handshake fix.
  • If an immediate upgrade is not feasible, temporarily avoid using SNICallback, OCSPRequest, newSession, resumeSession hooks or server.addContext() until the patch is applied, as these are the code paths that trigger the flaw.
  • Continuously monitor server logs for uncaught exception events and verify that the crash condition no longer occurs after the update.

Generated by OpenCVE AI on November 13, 2026 at 14:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs
Type Values Removed Values Added
Weaknesses CWE-248
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
Description 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.
Title Node.js is vulnerable to a remotely triggerable uncaught exception in TLS servers via deferred handshake callbacks
Weaknesses CWE-476
References
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
openjs
Published
Updated
Nov 16, 2026, 9:43 PM
Reserved
Nov 10, 2026, 4:56 PM
Status
Awaiting Analysis
Published
Nov 11, 2026, 7:17 PM
Modified
Nov 16, 2026, 10:18 PM
Severity
Important
Public date
Nov 11, 2026, 6:35 PM