Skip to main content
← All vulnerabilities
CVE-2026-40879GHSA-HPWF-8G29-85QM

Nest: DoS via Recursive handleData in JsonSocket (TCP Transport)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.1.19
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • nestjs nest

    fixed in 11.1.19

  • @nestjs/microservicesnpm

    fixed in 11.1.19

References 1

GitHub · nestjs/nest