CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"nest","vendor":"nestjs","versions":[{"status":"affected","version":"< 11.1.19"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a1e37729de96c2cb8b2cd18e6342f8e62d5686d39ae4ff8c648f52b64699e2a1 · sha256:192b15b9c99fbca7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a1e37729de96c2cb8b2cd18e6342f8e62d5686d39ae4ff8c648f52b64699e2a1 · sha256:192b15b9c99fbca7… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-674","description":"CWE-674: Uncontrolled Recursion","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a1e37729de96c2cb8b2cd18e6342f8e62d5686d39ae4ff8c648f52b64699e2a1 · sha256:192b15b9c99fbca7… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/nestjs/nest/security/advisories/GHSA-hpwf-8g29-85qm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nestjs/nest/security/advisories/GHSA-hpwf-8g29-85qm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a1e37729de96c2cb8b2cd18e6342f8e62d5686d39ae4ff8c648f52b64699e2a1 · sha256:192b15b9c99fbca7… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.