All reports
High

Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client

Affected versions

Affected versions
>= 7.0.0, < 7.24.0
Fixed version
7.24.0
Affected versions
>= 6.0.0, < 6.24.0
Fixed version
6.24.0
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-1528

Probability of exploitation in the next 30 days: 0.56%

FIRST EPSS · 2026-11-22

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.

Links

Credits

  • mcollina
  • UlisesGascon