When an empty write re-enters Node.js's HTTPS parser
CVE-2026-123864 shows how an empty TLS write can re-enter Node.js's HTTPS parser while it still owns a request buffer. The result is a cross-connection memory disclosure under a narrow handler pattern. Here is the failure path, the fixed versions, and the deployment review that matters.
CVE-2026-99362 turns a small NFSv4.1 and NFSv4.2 reply-cache negotiation value into a kernel memory corruption boundary. Here is what the primary records show about scope, exploit evidence, patch status, and safe containment.
CVE-2026-138445 shows how Umami's Reports API let a client supplied filter prefix reach PostgreSQL query structure. The patch is a precise lesson in separating request data from SQL identifiers, and in verifying source revisions when a fix lands after the latest release.
The vulnerable path depended on an empty write to a TLS socket while a parser cycle was already active (Node.js parser reentrancy fix commit). The fix commit says that an empty write called ClearOut() directly, even when the write originated in JavaScript running inside the HTTP parser's on_body callback (Node.js parser reentrancy fix commit). ClearOut() could then decrypt the next TLS record and send it to the same listener before the current callback had returned. (Node.js parser reentrancy fix commit)
There is no safe shortcut in the form of a single application-level validation rule (Node.js parser reentrancy fix commit). Limiting request size can reduce the amount of data an attacker can make the service process, but it does not correct the lifetime bug (Node.js parser reentrancy fix commit). Disabling one streaming route may remove one trigger pattern, but another code path can later reintroduce the same ordering (Node.js parser reentrancy fix commit). A reverse proxy that terminates TLS before forwarding cleartext HTTP to Node.js changes whether Node.js is the TLS endpoint, but it should be treated as a temporary containment decision, not a substitute for upgrading the runtime (Node.js parser reentrancy fix commit). The documented fixed versions remain the durable remediation. (CVE-2026-123864 record) (Node.js 22.23.5 LTS security release)
The patch also adds protection in the HTTP parser for reentrant execution (Node.js parser reentrancy fix commit). The commit says each call restores the caller's buffer when it returns, and data callbacks fail with HPE_REENTRANT_EXECUTE when they point outside the buffer being executed (Node.js parser reentrancy fix commit). The change matters because it treats the parser's buffer ownership as an invariant that must survive nested calls, rather than assuming that reentrancy will never happen. (Node.js parser reentrancy fix commit)
The source change touched src/crypto/crypto_tls.cc and src/node_http_parser.cc, and it added test/parallel/test-https-empty-write-nested-parser-execute.js (Node.js parser reentrancy fix commit). That file name is useful operational evidence (Node.js parser reentrancy fix commit). It shows that the regression test is about the interaction between HTTPS, an empty write, and nested parser execution, not about a generic TLS handshake failure. (Node.js parser reentrancy fix commit)
Illustration comparing the documented reentrant path with the ordering and buffer safeguards in the Node.js fix.
The version check is part of the fix
The CVE record gives the affected ranges as versions before 22.23.5, before 24.22.3, and before 26.13.1 for the corresponding release lines (CVE-2026-123864 record). The same record describes the vulnerable product as Node.js and identifies the issue as a cross-connection memory disclosure. (CVE-2026-123864 record)
Next, upgrade the runtime and restart every process that can accept HTTPS (Node.js parser reentrancy fix commit). Confirm the running binary's version and check that the listener has moved to the new process (Node.js parser reentrancy fix commit). If TLS termination is being used as a temporary measure, document the boundary and make sure the internal HTTP hop cannot be reached by untrusted clients (Node.js parser reentrancy fix commit). Cleartext node:http is not affected by this specific TLS reentrancy flaw, but an internal cleartext listener still needs ordinary network controls and must not be treated as automatically safe. (CVE-2026-123864 record)
Finally, treat the old process as a possible exposure window (Node.js parser reentrancy fix commit). The public sources establish a memory disclosure condition, but they do not establish that a particular installation leaked a private key or that any specific organization was targeted (Node.js parser reentrancy fix commit). If logs show unusual requests, crashes, or restarts during the period when an affected runtime was exposed, preserve them and follow the organization's incident process (Node.js parser reentrancy fix commit). Whether credentials or session material need rotation depends on what the service handled and what evidence exists (Node.js parser reentrancy fix commit). It should not be inferred automatically from the CVE alone. (OpenJS Foundation CVE-2026-123864 advisory listing)
The engineering lesson
This bug is a useful warning for native subsystems that call user code (Node.js parser reentrancy fix commit). A callback is a control-flow boundary, but it is not a memory-lifetime boundary (Node.js parser reentrancy fix commit). Native code must assume that user code can cause events, writes, reads, errors, and even nested execution before the callback returns (Node.js parser reentrancy fix commit). If an object owns a buffer across that boundary, the implementation needs an explicit rule for whether the buffer can move, be freed, or be read again. (Node.js parser reentrancy fix commit)