CVE-2026-40879
CVE-2026-40879 · Nest: DoS via Recursive handleData in JsonSocket (TCP Transport)
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 0.3% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
nest
- Versions
- < 11.1.19: Affected
No fix published
@nestjs/microservices npm
- Affected ranges
- SEMVER: < 11.1.19
Update to 11.1.19