BIT-node-2026-123862: Node.js is vulnerable to a zlib denial of service via a stream destroy during a pending params() call
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 ERRINTERNALASSERTION 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 22.23.5 - Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 24.22.3 - Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 26.13.1 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 22.23.5 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 24.22.3 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 26.13.1
Event History
Frequently Asked Questions
Which applications are actually exposed to this denial of service?
An application is affected only if it calls deflate.params() while it is streaming compressed data to a peer. This is described as uncommon, so applications that do not use this zlib streaming pattern are not affected.
What must happen for an attacker to trigger the crash?
A peer must disconnect while compression is in progress after the application has called zlib.params(). The disconnect causes pipeline() to destroy the stream before the queued params() flush callback runs, leading to an uncatchable internal assertion.
Can normal stream error handling prevent the process termination?
No. The exception bypasses the stream error event, the params() callback, and the pipeline() callback, and terminates the process.
Which Node.js release lines are affected?
The affected release lines are Node.js 26.x, 24.x, and 22.x.