CVE-2026-40879

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/04/2026
Last modified:
24/04/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:nestjs:nest:*:*:*:*:*:node.js:*:* 11.1.19 (excluding)