nodejs/undici · Security
Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client
- GHSA ID
- GHSA-f269-vfmq-vjvj
- CVE ID
- CVE-2026-1528
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Impact
A 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.
Workarounds
There are no workarounds.
CWEs
- CWE-248 · Uncaught Exception
- CWE-1284 · Improper Validation of Specified Quantity in Input