CVE-2026-40879
Last modified
CVE-2026-40879 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nestjs | Nest | < 11.1.19 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40879?
How severe is CVE-2026-40879?
How do I fix CVE-2026-40879?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40872mailcow: dockerized is an open source groupware/email suite …9.3
- CVE-2026-40873mailcow: dockerized is an open source groupware/email suite …8.9
- CVE-2026-40874mailcow: dockerized is an open source groupware/email suite …6
- CVE-2026-40875mailcow: dockerized is an open source groupware/email suite …7
- CVE-2026-40876goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-be…8.8
- CVE-2026-40878mailcow: dockerized is an open source groupware/email suite …2.1
- CVE-2026-4088The Switch CTA Box plugin for WordPress is vulnerable to Sto…6.4
- CVE-2026-40880ZEBRA is a Zcash node written entirely in Rust. Prior to zeb…8.1
- CVE-2026-40881ZEBRA is a Zcash node written entirely in Rust. Prior to zeb…7.5
- CVE-2026-40882OpenRemote is an open-source internet-of-things platform. Pr…7.6
- CVE-2026-40883goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4…8.1
- CVE-2026-40884goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-be…9.8
Are you affected by CVE-2026-40879?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
