All reports
High

nodejs: nodejs: Denial of Service via HTTP/2 use-after-free

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-123874

Probability of exploitation in the next 30 days: 0.55%

FIRST EPSS · 2026-11-22

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).

A flaw was found in Node.js. A use-after-free memory flaw in the HTTP/2 implementation allows an unauthenticated remote attacker to corrupt server memory and cause a Denial of Service (DoS). By sending requests while the server is serving files, an attacker can cause the server to release an active stream object while a write operation is still queued. When the pending write completes, referencing the freed object leads to server memory corruption and terminates the process.