Node.js is vulnerable to an HTTP/2 memory and file-descriptor leak via a protocol error during session shutdown (nodejs node)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.68 % · percentile 54 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- openjs
- Affected products
- nodejs · node
- NVD status
- Awaiting Analysis
Description
An unauthenticated HTTP/2 client can permanently leak Node.js server memory and file descriptors. If a peer triggers a protocol error, for example an oversized frame header, while the session is already shutting down, nghttp2 tears the session down internally but Node.js never notices, leaving a dangling session: the socket stays in CLOSE_WAIT and all of Node.js's HTTP/2 state for that connection is held in memory indefinitely, with no further cost to the attacker. The attacker can start the shutdown remotely by sending GOAWAY(NO_ERROR), so it is reliable against default HTTP/2 servers. It is an incomplete-fix case of CVE-2026-48937: that fix detected nghttp2 internal terminations by watching for GOAWAY sent while not shutting down, but missed terminations that arrive while the session is already shutting down. This vulnerability affects Node.js 26.x, 24.x, and 22.x.
Weaknesses (CWE)
- CWE-400 — Uncontrolled Resource Consumption
Credits
- pimterry reporter
- mcollina remediation developer
- aduh95 coordinator
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | openjs |
| CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) |
European references
- ENISA EUVD · EUVD-2026-123685
- GCVE · GCVE-0-2026-123865
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 |