CVE-2026-123864: Node.js HTTPS Parser Re-entrancy Heap Memory Disclosure
CVE-2026-123864 is a re-entrancy vulnerability in Node.js HTTPS affecting the 22.x, 24.x, and 26.x release lines before versions 22.23.5, 24.22.3, and 26.13.1, respectively. TLSWrap::DoWrite() directly invokes ClearOut() for zero-length writes. When such a write occurs from JavaScript executing inside the HTTP parser's on_body callback, ClearOut() can decrypt another TLS record and re-enter llhttp_execute() before the original parsing operation finishes. Nested parsing can leave a body span referencing a freed temporary buffer, causing a use-after-free and an out-of-bounds heap read. Unrelated heap bytes can consequently become part of an application-visible request body, potentially exposing other connections' data or TLS private keys. The trigger affects the TLS path; cleartext Node.js HTTP servers are unaffected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated remote client can disclose freed or unrelated server-process heap memory when the required application behavior is present. Potential disclosures include TLS private keys and other users' requests, compromising confidentiality across connections handled by the same process. Corrupted request bodies may also persist leaked information in application storage. Triggering the flaw can abort the Node.js process and interrupt service. Arbitrary code execution is not established.
Mitigation
If you can’t patch tonight, do this now.
Until patching is possible, terminate client TLS at a reverse proxy and forward plain HTTP/1.1 to Node.js, preventing external clients from reaching the vulnerable TLS empty-write path. Ensure the Node.js HTTPS listener cannot be reached directly. Removing the application pattern that flushes response headers before the request body finishes and subsequently ends the response with non-empty data also removes a required exploitation condition.
Remediation
Patch, then assume compromise.
Upgrade to Node.js 22.23.5, 24.22.3, or 26.13.1, or a later patched release in the applicable branch. Rebuild affected container images and single-executable applications, redeploy them, and restart all Node.js processes so they use the patched runtime. Migrate affected end-of-life branches to a supported patched release. The fix prevents empty TLS writes from causing nested parser execution and hardens HTTP parser buffer-context and body-span validation. HTTPS application changes are not required after upgrading.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-123864 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2026-123864 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-123864?
- As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-123864.
- Is there a patch for CVE-2026-123864?
- Upgrade to Node.js 22.23.5, 24.22.3, or 26.13.1, or a later patched release in the applicable branch. Rebuild affected container images and single-executable applications, redeploy them, and restart all Node.js processes so they use the patched runtime.
- How severe is CVE-2026-123864?
- CVE-2026-123864 has a CVSS v3 score of 8.1 (High) and an EPSS score of 0.40% (26th percentile) as of Nov 27, 2026.
Recent activity
55 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.