CVE-2026-40879: Nest - Denial of Service
- Cve: CVE-2026-40879
- Name: Nest - Denial of Service
- Description: 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.
- Impact: Attackers can cause a call stack overflow leading to denial of service by sending crafted TCP frames with multiple small JSON messages.
- Remediation: Update to version 11.1.19 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00342
- Epss percentile: 0.27994
- Assignee: [email protected]
- Published at: 2026-04-21T20:17:01Z
- Age in days: 217
- Modified at: 2026-10-26T21:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40879
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-674 | Uncontrolled Recursion |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/nestjs/nest/security/advisories/GHSA-hpwf-8g29-85qm | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nestjs:nest | < 11.1.19 | no | nvd | /v1/products/nestjs/nest |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nestjs/nest | package, security_advisory | yes | /v1/repositories/nestjs/nest |
Index
- Repositories: 7
- Repositories high signal: 6
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts