GHSA-hpwf-8g29-85qm

ghsaUSosv

Nest Affected by DoS via Recursive handleData in JsonSocket (TCP Transport)

view advisory published 2026-04-14Licence: CC-BY-4.0

### Impact Attacker sends many small, valid JSON messages in one TCP frame → handleData() recurses once per message; buffer shrinks each call → maxBufferSize is never reached; call stack overflows instead → A ~47 KB payload is sufficient to trigger RangeError ### Patches Fixed in `@nestjs/microservices@11.1.19` ### References Discovered by https://github.com/hwpark6804-gif

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-40879US——
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()…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan