BIT-node-2026-123875: Node.js is vulnerable to an HTTP/2 denial of service via a NULL pointer dereference when a respondWithFile() download is cancelled
A NULL pointer dereference in Node.js HTTP/2 lets an unauthenticated client crash the server, over both TLS and cleartext, by cancelling file downloads. When the server serves a file with stream.respondWithFile() or stream.respondWithFD() and the client cancels the request, a StreamPipe used for the transfer is torn down in an order that leaves a NULL pointer which is then dereferenced, aborting the process. No crafted frames are needed, and a handful of cancelled requests against a default file-serving handler is enough. 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 deployments are exposed to this denial of service?
Deployments using affected Node.js 22.x, 24.x, or 26.x are exposed if they serve HTTP/2 file downloads through stream.respondWithFile() or stream.respondWithFD(). The issue can be reached over both TLS and cleartext HTTP/2.
What does an attacker need to exploit the issue?
An unauthenticated client only needs network access to the HTTP/2 service and the ability to cancel a file-download request. No crafted HTTP/2 frames are required, and a handful of cancelled requests against a default file-serving handler can abort the process.
What is the impact if exploitation succeeds?
The Node.js process aborts, causing a denial of service. The provided impact data indicates availability impact only; no confidentiality or integrity impact is stated.