Skip to main content
Menu
CVEs

Node.js cross-connection memory leak in HTTPS request parser

Affects Node.js 22.x, 24.x and 26.x HTTPS servers whose handlers flush headers before the request body ends and echo or store request bodies. Fixed in 22.23.5, 24.22.3 and 26.13.1.

CVE-2026-123864EUVD-2026-123683Published November 11, 2026, updated

8.1HighCNA
Exploited
No known exploitation
Fix
Fixed in 22.23.5, 24.22.3, 26.13.1
Who is exposed
Not reported

Summary

Node.js HTTPS servers can leak memory from other connections, including TLS private keys and other users' requests, to an unauthenticated remote client. The attacker must send a request to a handler that calls res.flushHeaders() before the request body ends and later calls res.end() with a non-empty chunk, and the leak only works when the server echoes or stores request bodies on an ordinary route; cleartext node:http is not affected.

Written by a model

Original description

A re-entrancy flaw in Node.js HTTPS lets an unauthenticated client read memory belonging to other connections, including TLS private keys and other users' requests. TLSWrap::DoWrite() calls ClearOut() directly when asked to write zero bytes; if that write is issued from JavaScript running inside the HTTP parser's on_body callback, ClearOut() decrypts the next TLS record while the parser is still mid-body, re-entering llhttp_execute() and causing a use-after-free and an out-of-bounds heap read. The server then copies that freed or unrelated heap memory into the response for the request body. Triggering it requires a handler that calls res.flushHeaders() before the request body ends and later calls res.end() with a non-empty chunk, and reading the leaked memory requires any ordinary route that echoes or stores a request body. Cleartext node:http is not affected. This vulnerability affects Node.js 26.x, 24.x, and 22.x.

Who should check

Teams running Node.js 22.x, 24.x or 26.x HTTPS servers (node:https) whose handlers call res.flushHeaders() before the request body ends, or that echo or store request bodies.

“This vulnerability affects all users in active release lines: 22.x, 24.x, 26.x”

nodejs.org

What to do

Upgrade to a fixed version: 22.23.5, 24.22.3, 26.13.1.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-123864 (Node.js is vulnerable to cross-connection memory disclosure via TLS write re-entrancy in the HTTPS request parser), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-123864 (entry last updated 2026-11-16):
Affected:
- nodejs node: from 0.0.0, fixed in 22.23.5; from 23.0.0, fixed in 24.22.3; from 25.0.0, fixed in 26.13.1
Fixed versions: 22.23.5, 24.22.3, 26.13.1.
Conditions (all must be true for the bug to be hit):
- Node.js HTTPS server whose handler calls res.flushHeaders() before the request body ends and later calls res.end() with a non-empty chunk (source: https://nodejs.org/en/blog/vulnerability/november-2026-security-releases)
- A route that echoes or stores a request body, to read the leaked memory (source: https://nodejs.org/en/blog/vulnerability/november-2026-security-releases)
- Cleartext node:http is not affected, so the HTTPS server is required (source: https://nodejs.org/en/blog/vulnerability/november-2026-security-releases)
- Node.js 22.x, 24.x or 26.x release lines (source: https://nodejs.org/en/blog/vulnerability/november-2026-security-releases)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-123864 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-123864 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://nodejs.org/en/blog/vulnerability/november-2026-security-releases
- https://cna.openjsf.org/security-advisories.html
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-123864
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-123864"}.

Affected versions

cve.now Index

42of 100 · methodology v3
  • Exploitation0/40No signal
  • Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
  • Reach17/20Affects Node.js (a widely deployed server, runtime, framework or database)
  • Severity8.1/10CVSS 8.1
  • No patch0/5No signal

What would change the score

  • Would score about 87 if added to CISA KEV
  • Would score about 82 if CISA's SSVC rates exploitation active
  • Would score about 47 if advisories confirm default setups are exposed

Timeline

  1. cve.now early warning

    Node.js fixes 16 vulnerabilities, including HTTP/2 crash and memory-leak flaws

  2. CVE published
  3. First seen by cve.now
  4. Posted on X by cve.now5 days
  5. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  6. Record last updated

Public exploit activity

100%0Posted on X by cve.nowNov 11Dec 3
  • EPSS: 0.40%
  • Posted on X by cve.now Nov 11

Since disclosure: the repos PoC-in-GitHub lists and FIRST's daily EPSS score.

On X 10

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
Advisorynodejs.org · en/blog/vulnerability/november-2026-security-releases
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-123864
RecordNVD · CVE-2026-123864
Other links 1
Linkcna.openjsf.org · security-advisories.html

Questions about CVE-2026-123864

Is CVE-2026-123864 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A flaw in the HTTPS request parser's TLS write handling lets an unauthenticated client read memory belonging to other connections, which can include TLS private keys and other users' requests.

Source: nodejs.org

Which versions are affected by CVE-2026-123864?

node: from 0.0.0 before 22.23.5; from 23.0.0 before 24.22.3; from 25.0.0 before 26.13.1.

Source: cve.now feed data

Am I affected, and how do I check?

Only HTTPS servers on the Node.js 22.x, 24.x and 26.x release lines are in scope; cleartext node:http is not affected. The setup also needs a handler that calls res.flushHeaders() before the request body ends and later calls res.end() with a non-empty chunk, plus a route that echoes or stores request bodies. Node.js version can be checked with node --version, and server code can be searched for flushHeaders calls.

Source: nodejs.org

How do I fix CVE-2026-123864?

Upgrade to the fixed version for the release line in use: 22.23.5, 24.22.3 or 26.13.1.

Source: nodejs.org

No corrections so far. Something wrong on this page? Report an error.