← Back to CVE List
Vulnerability Intelligence Report
Nest: DoS via Recursive handleData in JsonSocket (TCP Transport)

CVE-2026-40879

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.

No Active Exploit Signals
CVSS Base Score
7.5
HIGH
Exploitability:3.9
Impact Score:3.6
EPSS Probability:0.33%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-674 ↗CWE-674: Uncontrolled Recursion

Affected Products & Versions

Vendor Product Affected Versions
nestjs nest < 11.1.19 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

EPSS Score
0.329%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityGitHub, Inc. · Vendor · USA
Reserved2026-04-15T15:57:41
Published2026-04-21T19:14:17
Last Updated2026-04-21T19:38:04

LINK COPIED TO CLIPBOARD