CVE-2026-40879

HIGH CVSS 3.1: 7.5 EPSS 0.34%
Updated Oct 27, 2026
Nestjs
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions before 11.1.19
Fixed In 11.1.19
Type CWE-674
Vendor Nestjs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nestjs Nest
cpe:2.3:a:nestjs:nest:*:*:*:*:*:node.js:*:*
— 11.1.19