CVE-2026-40879CWE-674

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

High · published April 21, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
38.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00458 · 38.7th percentile
Weakness
CWE-674 · Uncontrolled Recursion
Published
2026-04-21T19:14Z
EPSS history
Timeline
  • 21 APR 19:14Z
    Nest: DoS via Recursive handleData in JsonSocket (TCP Transport)
    cvelistv5