CVE-2026-12151
Last modified
CVE-2026-12151 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively causing unbounded memory growth in the client process. EPSS estimates a 0.79% chance of exploitation in the next 30 days.
Description
Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service. Affected applications are those using the undici WebSocket client (new WebSocket(...)) or the WebSocketStream API that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint. All releases starting at undici 6.17.0 are affected. Patches: Upgrade to undici >= 6.26.0, >= 7.28.0, or >= 8.5.0. Workarounds: No workaround is available. The fix must be applied through an upgrade.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Undici | >= 6.17.0, < 6.27.0 |
| Nodejs | Undici | >= 7.0.0, < 7.28.0 |
| Nodejs | Undici | >= 8.0.0, < 8.5.0 |
References
- https://cna.openjsf.org/security-advisories.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-12151?
How severe is CVE-2026-12151?
How do I fix CVE-2026-12151?
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-121502A vulnerability was identified in mathurvishal CloudClassroo…7.3
- CVE-2026-121505An out-of-bounds read in the NTS-KE client response parser (…3.7
- CVE-2026-121506An out-of-bounds read and write in NTS client extension fiel…7.4
- CVE-2026-121507Double Free in µD3TN BPv6 Fragmenter Block Duplication allow…5.9
- CVE-2026-121508Use-After-Free in µD3TN BPv6 Fragmenter Cleanup allows Unaut…5.9
- CVE-2026-121509A security flaw has been discovered in Headless CMS Plugin u…5.3
- CVE-2026-121510Remote Unauthenticated Heap Out-of-Bounds Write in µD3TN BPv…7.5
- CVE-2026-121511Heap Out-of-Bounds Read in µD3TN BPv6/BPv7 Fragmenter allows…7.1
- CVE-2026-121512Memory Leak with Amplification in µD3TN BPv6 EID Reference H…7.5
- CVE-2026-121513Off-by-one Heap Overflow in µD3TN v0.15.1 SPP Parser allows …7.5
- CVE-2026-121514A weakness has been identified in EasySoft ZenTao PMS up to …6.3
- CVE-2026-121515The FV Flowplayer Video Player plugin for WordPress is vulne…5.4
Are you affected by CVE-2026-12151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
