Node.js is vulnerable to a zlib denial of service via a stream destroy during a pending params() call (nodejs node)

CVE-2026-123862
LOW 2.9

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
openjs
Affected products
nodejs · node
NVD status
Awaiting Analysis

Description

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.

Weaknesses (CWE)

Credits

  • Chris Rohlf in collaboration with Claude and Anthropic Research reporter
  • mcollina remediation developer
  • UlisesGascon remediation reviewer
  • aduh95 coordinator

References

Scores

VersionScoreVectorScored by
CVSS 3.0LOW 2.9CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Lopenjs
CVSS 3.0LOW 2.9CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LNVD · ce714d77-add3-4f53-aff5-83d477b104bb (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
nodejs · node
affected : ≥ 0.0.0 < 22.23.5
affected : ≥ 23.0.0 < 24.22.3
affected : ≥ 25.0.0 < 26.13.1
Other versions : unaffected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD