CVE-2026-123874: Use-after-free in Node.js HTTP/2 file-serving streams
CVE-2026-123874 is a use-after-free vulnerability in Node.js HTTP/2 file serving, affecting versions 24.22.0 through 24.22.2 and 26.9.0 through 26.13.0. When an application uses stream.respondWithFile() or stream.respondWithFD(), an unauthenticated client can reset a stream while a socket write referencing its Http2Stream object remains queued. The stream can be freed before the write completes, after which the completion code dereferences the freed object and makes a virtual call through it. The vulnerability permits server memory corruption over either TLS or cleartext HTTP/2 connections.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Remote, unauthenticated exploitation can corrupt server process memory and cause denial of service. The vulnerability is rated High with a CVSS v3 base score of 7.5, reflecting high availability impact. Although the invalid access includes a virtual call through a freed object, arbitrary code execution and confidentiality compromise have not been demonstrated.
Mitigation
If you can’t patch tonight, do this now.
No vendor-supported workaround is identified. Pending an upgrade, reduce exposure by restricting access to affected HTTP/2 listeners or terminating HTTP/2 at a reverse proxy that communicates with Node.js exclusively over HTTP/1.1. Ensure alternate listeners do not expose the affected HTTP/2 file-serving functionality. These measures are interim exposure reductions, not substitutes for patching.
Remediation
Patch, then assume compromise.
Upgrade Node.js 24.x to version 24.22.3 or later, or Node.js 26.x to version 26.13.1 or later. The fix retains HTTP/2 streams while socket writes remain pending. Apply the corresponding distribution security update where applicable, rebuild and redeploy affected container images, restart running workloads, and verify the active runtime version.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-123874 exploited in the wild?
- As of Nov 16, 2026, Mallory has no reports of CVE-2026-123874 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-123874?
- As of Nov 16, 2026, Mallory has found no public exploit for CVE-2026-123874.
- Is there a patch for CVE-2026-123874?
- Upgrade Node.js 24.x to version 24.22.3 or later, or Node.js 26.x to version 26.13.1 or later. The fix retains HTTP/2 streams while socket writes remain pending.
- How severe is CVE-2026-123874?
- CVE-2026-123874 has a CVSS v3 score of 7.5 (High) and an EPSS score of 0.55% (47th percentile) as of Nov 16, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.