Node.js is vulnerable to a zlib denial of service via a stream destroy during a pending params() call
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nodejsnode |
≥ 0.0.0, < 22.23.5→ 22.23.5 ≥ 23.0.0, < 24.22.3→ 24.22.3 ≥ 25.0.0, < 26.13.1→ 26.13.1 |
22.23.5 24.22.3 26.13.1 |
| Bitnaminode-min |
< 22.23.5→ 22.23.5 ≥ 23.0.0, < 24.22.3→ 24.22.3 ≥ 25.0.0, < 26.13.1→ 26.13.1 |
22.23.5 24.22.3 26.13.1 |
| Bitnaminode |
< 22.23.5→ 22.23.5 ≥ 23.0.0, < 24.22.3→ 24.22.3 ≥ 25.0.0, < 26.13.1→ 26.13.1 |
22.23.5 24.22.3 26.13.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-123862 nodejs-current, nodejs Fix available
- BellSoft Alpaquita BELL-CVE-2026-123862 nodejs26, nodejs24, nodejs22 Fix available
- Debian DEBIAN-CVE-2026-123862 nodejs No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-123862 nodejs No fixed version in this record
Original description The description as published by the source.
An uncatchable exception in the Node.js zlib streaming API lets a peer crash a process by disconnecting while data is being compressed. zlib.params() queues a flush and completes its work in that write's callback; if the stream is destroyed first, as pipeline() does when the peer goes away, Writable still invokes the callback with an error, but the callback ignores its arguments and asserts that the native handle still exists. The handle is gone, so an ERR_INTERNAL_ASSERTION is thrown from inside stream internals and bypasses the stream's error event, the params() callback, and the pipeline() callback, terminating the process. An application is affected only if it calls deflate.params() while streaming to a peer, which is uncommon. This vulnerability affects Node.js 26.x, 24.x, and 22.x.
Source: Node.js Security Releases NVD GitHub Advisory
References
- REDHAT Red Hat
- web nodejs.org
- web cna.openjsf.org
- web nvd.nist.gov
- web github.com