#VU125898 Uncontrolled Recursion in nest
Published: April 14, 2026
nest
nestjs
Description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled recursion in JsonSocket handleData() in the TCP transport when processing many small valid JSON messages in a single TCP frame. A remote attacker can send many small valid JSON messages in one TCP frame to cause a denial of service.
A payload of approximately 47 KB can trigger a RangeError because the call stack overflows before maxBufferSize is reached.