high7.5
CVE-2026-40879
Nest is a framework for building scalable Node.js server-side applications.
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @nestjs/microservices | <= 11.1.18 | 11.1.19 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nestjs | Nest | before 11.1.19 |