Node.js is vulnerable to cross-connection memory disclosure via TLS write re-entrancy in the HTTPS request parser (nodejs node)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.40 % · percentile 37 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- openjs
- Affected products
- nodejs · node
- NVD status
- Awaiting Analysis
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.
Weaknesses (CWE)
- CWE-416 — Use After Free
Credits
- Chris Rohlf in collaboration with Claude and Anthropic Research reporter
- mcollina remediation developer
- ShogunPanda remediation reviewer
- pimterry remediation reviewer
- aduh95 coordinator
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H | openjs |
| CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H | NVD · ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) |
European references
- ENISA EUVD · EUVD-2026-123683
- GCVE · GCVE-0-2026-123864
CERT-FR advisories
- CERTFR-2026-AVI-1539 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1531 — Multiples vulnérabilités dans Node.js · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| nodejs · node | affected : ≥ 0.0.0 < 22.23.5 affected : ≥ 23.0.0 < 24.22.3 affected : ≥ 25.0.0 < 26.13.1 Other versions : unaffected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |