CVE-2026-123875: Node.js HTTP/2 File Download Cancellation NULL Pointer Dereference
CVE-2026-123875 is a NULL pointer dereference in Node.js HTTP/2 file transfers served through stream.respondWithFile() or stream.respondWithFD(). Cancelling an in-flight download can destroy its HTTP/2 stream while a file read remains pending in the thread pool. During subsequent StreamPipe teardown, a null WriteWrap is forwarded to ReportWritesToJSStreamListener::OnStreamAfterReqFinished(), which dereferences it and terminates the process. An unauthenticated client can trigger the flaw over either TLS or cleartext HTTP/2 without crafted frames; a handful of cancelled downloads can crash a default file-serving handler. Affected release lines are Node.js 22.x, 24.x, and 26.x before their respective security updates.
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 denial of service through termination of the Node.js server process. The crash interrupts active connections and makes applications hosted by that process unavailable until it is restarted. Repeated triggering can repeatedly disrupt service. Confidentiality compromise, data modification, and code execution are not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until patching is possible, avoid serving HTTP/2 file downloads through stream.respondWithFile() or stream.respondWithFD(), or temporarily disable HTTP/2 on affected file-serving endpoints. An HTTP/2-terminating reverse proxy can reduce exposure if it forwards requests to the Node.js backend using HTTP/1.1 rather than passing HTTP/2 through.
Remediation
Patch, then assume compromise.
Upgrade to Node.js 22.23.5, 24.22.3, or 26.13.1, or a later supported security release in the applicable release line. The fix adds null-stream and null-request checks in OnStreamAfterReqFinished() so completion handling returns early when cancellation has invalidated the transfer state. Restart all affected Node.js processes and rebuild container images or single executable applications that embed a vulnerable runtime. For Alpine Linux nodejs-current packages, update to 26.13.1-r0 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-123875 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2026-123875 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-123875?
- As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-123875.
- Is there a patch for CVE-2026-123875?
- Upgrade to Node.js 22.23.5, 24.22.3, or 26.13.1, or a later supported security release in the applicable release line. The fix adds null-stream and null-request checks in OnStreamAfterReqFinished() so completion handling returns early when cancellation has invalidated the transfer state.
- How severe is CVE-2026-123875?
- CVE-2026-123875 has a CVSS v3 score of 5.9 (Medium) and an EPSS score of 0.57% (41st percentile) as of Nov 27, 2026.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.