CVE-2026-123874
Node.js: HTTP/2 use-after-free when a respondWithFile() stream is reset during a pending write
Technology
Node.js
CVSS Score
7.5 / 10.0
Affected Versions
>=24.0.0 <24.22.3; >=26.0.0 <26.13.1
Upstream Fix
24.22.3; 26.13.1
Published
November 11, 2026
OSSeva Coverage
Fixed upstream
Description
A use-after-free in HTTP/2 lets an unauthenticated client corrupt server memory, over TLS or cleartext, when the server serves files with stream.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 the write completes, the code dereferences and makes a virtual call through the freed object. Default settings are otherwise enough. Node.js 22 is not affected. Rated High by Node.js; CVSS is the CNA's score as recorded at NVD. Fixed in 24.22.3 and 26.13.1.
Is your Node.js deployment affected?
If you're running >=24.0.0 <24.22.3; >=26.0.0 <26.13.1, you need this patch. Book a discovery call to get covered.
Get a quote
Running Node.js >=24.0.0 <24.22.3; >=26.0.0 <26.13.1?
Send your work email and a senior engineer will tell you whether this CVE applies to your versions and who patches it. Reply within 1 business day.
Prefer to talk or read more first?