Vendors › Node.js

CVE-2026-123874

High (no CVSS assigned) EPSS 0.7% Node.js · Node.js

HTTP/2: use-after-free of Http2Stream when a respondWithFile() stream is reset during a pending write

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.

Published2026-11-11
Updated2026-11-11
AffectedNode.js 26.x, 24.x
FixUpgrade to v24.22.3, v26.13.1 (first fixed release per affected branch).
CVEMesh analysisA vulnerability in Node.js allows an attacker to corrupt server memory by exploiting a use-after-free bug in the HTTP/2 protocol. This can be done by serving files with respondWithFile() or respondWithFD() while a write request is still queued on the socket. The advisory does not state exploitation conditions. The most important action is to upgrade to Node.js v24.22.3 or v26.13.1 to fix the issue.
Vendor states: "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() ."
AI-generated — see the vendor advisory for the authoritative text.
Vendor advisoryhttps://nodejs.org/en/blog/vulnerability/november-2026-security-releases#http2-use-after-free-of-http2stream-when-a-respondwithfile-stream-is-reset-during-a-pending-write-cve-2026-123874---high

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-123874———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.