BIT-node-2026-123865: Node.js is vulnerable to an HTTP/2 memory and file-descriptor leak via a protocol error during session shutdown
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 CLOSEWAIT 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(NOERROR), 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 22.23.5 - Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 24.22.3 - Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 26.13.1 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 22.23.5 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 24.22.3 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 26.13.1
Event History
Frequently Asked Questions
Which Node.js deployments are in scope?
Deployments using Node.js 26.x, 24.x, or 22.x with HTTP/2 server functionality exposed to clients are affected. The listed software packages are bitnami/node and bitnami/node-min.
Does exploitation require authentication or a pre-existing connection state?
No. An unauthenticated HTTP/2 client can trigger the condition remotely, including initiating shutdown with GOAWAY(NO_ERROR) before causing a protocol error.
Are default HTTP/2 server configurations susceptible?
Yes. The issue is described as reliable against default HTTP/2 servers because an attacker can remotely initiate the relevant session-shutdown state.
What evidence could indicate attempted or successful exploitation?
Affected connections can remain in CLOSE_WAIT while their Node.js HTTP/2 session state remains allocated indefinitely. Unexpected growth in CLOSE_WAIT sockets, memory usage, or open file descriptors on an HTTP/2 server may indicate impact.