NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

highCVSS 3.1 7.5GHSA-f269-vfmq-vjvj

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.

Published Mar 13, 2026

Affected packages

undici

Ecosystem
npm
Affected
>= 6.0.0, < 6.24.0
Fixed in
6.24.0
Check
npm ls undici

undici

Ecosystem
npm
Affected
>= 7.0.0, < 7.24.0
Fixed in
7.24.0
Check
npm ls undici

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to mcollina, UlisesGascon.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries