CVE-2026-1528Published Mar 12, 2026 · Mar 12Updated Oct 28
undici is vulnerable to Malicious WebSocket 64-bit length overflows undici parser and crashes the client
undici
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| undici npm |
|
|
Original description
ImpactA server can reply with a WebSocket frame using the 64-bit length form and an extremely large length. undici's ByteParser overflows internal math, ends up in an invalid state, and throws a fatal TypeError that terminates the process.
Patches
Patched in the undici version v7.24.0 and v6.24.0. Users should upgrade to this version or later.