CVE-2026-123864

NameCVE-2026-123864
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1153855

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nodejs (PTS)bookworm18.20.4+dfsg-1~deb12u2vulnerable
bookworm (security)18.20.4+dfsg-1~deb12u3vulnerable
trixie (security), trixie20.19.2+dfsg-1+deb13u3vulnerable
forky24.22.2+dfsg+~cs24.19.2-1vulnerable
sid24.22.3+dfsg+~cs24.19.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nodejssource(unstable)24.22.3+dfsg+~cs24.19.2-11153855

Notes

https://nodejs.org/en/blog/vulnerability/november-2026-security-releases#https-a-zero-length-tls-write-re-enters-llhttp_execute-and-the-server-copies-its-own-heap-into-the-request-body-cve-2026-123864---high
check if affects src:- llhttp

Search for package or bug name: Reporting problems