Vulnerability
CVE-2026-123864
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.
26 advisories report this vulnerability, across 11 ecosystems.
Advisories in Chainguard
- CGA-4c96-v6c5-6cjc
- CGA-4rv7-34px-2547
- CGA-5w35-f7w4-wh64
- CGA-7w4p-445j-4qgv
- CGA-8jmg-63g5-pxpq
- CGA-f4cw-3fgf-p4mc
- CGA-f6vw-w2j6-9vf7
- CGA-f87q-2fm4-xf52
- CGA-p95f-vgph-97j9
- CGA-x7v6-mmq7-f7wr