Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2026-40879

Nest: DoS via Recursive handleData in JsonSocket (TCP Transport)

Description

Nest is a framework for building scalable Node.js server-side applications. Prior to 11.1.19, when an attacker sends many small, valid JSON messages in one TCP frame, handleData() recurses once per message; the buffer shrinks each call. maxBufferSize is never reached; call stack overflows instead. A ~47 KB payload is sufficient to trigger RangeError. This vulnerability is fixed in 11.1.19.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

nestjs nest

  • < 11.1.19affected

References