← Database

CVE-2026-40879

HIGH CVSS: 7.5 Published: 2026-04-21 Modified: 2026-06-17

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 Platforms

Nestjs Nest

Weakness Type

CWE-674

References