Node.js is vulnerable to an HTTP/2 denial of service via a NULL pointer dereference when a respondWithFile() download is cancelled
- State
- Published
- Severity
- 5.9 Medium
- Published
- Nov 11, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 6, 2026
Description
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.
| Product | Versions |
|---|---|
| node nodejs | 0.0.0 to before 22.23.5 Affected23.0.0 to before 24.22.3 Affected25.0.0 to before 26.13.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.0 | 5.9 Medium | openjs |
Weaknesses
- CWE-476 NULL Pointer Dereference
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.