GHSA-f269-vfmq-vjvjHighCVSS 7.5

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

Published
March 13, 2026
Last Modified
March 13, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products2

  • npm/undici:>= 6.0.0, < 6.24.0
  • npm/undici:>= 7.0.0, < 7.24.0

🔗 References (5)