Skip to content
RedCVE

CVE-2026-123864Node.js Node use-after-free

Node.jsPublished:

CVSS score

8.1

High

CVSS 3.0 from ce714d77-add3-4f53-aff5-83d477b104bb

Exploit probability (EPSS)

0.40%

0.40% chance of exploitation in the next 30 days, higher than 35.2% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Node.js Node and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Node to 22.23.5, 24.22.3, 26.13.1 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H

Affected products

Affected productsVersions
Node.js Node≥ 0.0.0, < 22.23.5 · ≥ 23.0.0, < 24.22.3 · ≥ 25.0.0, < 26.13.1

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-123864 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-123864?

CVE-2026-123864 has a CVSS 3.0 base score of 8.1 (high).

Which versions are affected?

Node.js Node (≥ 0.0.0, < 22.23.5; ≥ 23.0.0, < 24.22.3; ≥ 25.0.0, < 26.13.1)

Is there a patch for CVE-2026-123864?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.