#VU125898 Uncontrolled Recursion in nest

 

#VU125898 Uncontrolled Recursion in nest

Published: April 14, 2026


Vulnerability identifier: #VU125898
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
nest
Software vendor:
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.


Remediation

Install security update from vendor's website.

External links