Servers and applications
CVE-2026-123874
Node.js is vulnerable to an HTTP/2 use-after-free via respondWithFile() stream reset during a pending write
- Severity
- High 7.5
- Published
- 11 Nov 2026
- Last changed
- 11 Nov 2026
- Added to UpHeron
- 11 Nov 2026
- Fixed in
- 24.22.3, 26.13.1
- Weakness
- Use after free (CWE-416)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Sources
- CVE Program
Description
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. This vulnerability affects Node.js 26.x (since 26.9.0) and 24.x (since 24.22.0).
Affected software
| Software | Affected versions |
|---|---|
Node.jsServers and applications · cna:nodejs|node |
|
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123874