1. Archivio CVE
  2. 2026
  3. CVE-2026-123862

CVE-2026-123862

2.9 Gravità bassa CVSS v3.0 · fonte NVD CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L 2.9 – Bassa

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
nodejs node >= 0.0.0 < 22.23.5 –
nodejs node >= 23.0.0 < 24.22.3 –
nodejs node >= 25.0.0 < 26.13.1 –
Tutte le 57 vulnerabilità di Nodejs Node

Tipo di vulnerabilità

CWE-248 Uncaught Exception

An exception is thrown from a function, but it is not caught.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Riservatezza Interruzione del servizio: arresto o riavvio, Leggere i dati dell’applicazione

Come si previene

Requisiti The choice between a language which has named or unnamed exceptions needs to be done. While unnamed exceptions exacerbate the chance of not properly dealing with an exception, named exceptions suffer from the up call version of the weak base class problem.
Requisiti A language can be used which requires, at compile time, to catch all serious exceptions. However, one must make sure to use the most current version of the API as new exceptions could be added.
Sviluppo Catch all relevant exceptions. This is the recommended solution. Ensure that all exceptions are handled in such a way that you can be sure of the state of your system at any given moment.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 361 CVE di tipo CWE-248, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org