CVE-2026-123874NVD
Vulnerability Summary
A use-after-free in Node.js HTTP/2 lets an unauthenticated client corrupt server memory, over both TLS and cleartext, when the server serves files with respondWithFile() or respondWithFD(). A client can make the server free an Http2Stream while a write request that points to it is still queued on the socket; when that write completes, the code dereferences and makes a virtual call through the freed object. The only precondition is that the application serves a file with stream.respondWithFile() or stream.respondWithFD(), with default settings otherwise.
Affected & Patched Versions
- This vulnerability affects all users in active release lines: 24.x, 26.x
- Node.js v24.22.3
- Node.js v26.13.1