Advisory

GHSA-f269-vfmq-vjvj

Also known as: CVE-2026-1528

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-13 20:07 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

undici

npm · All systems

Affected

  • introduced 6.0.0, fixed 6.24.0 (semver)

Fixed versions

6.24.0

Fix

undici

npm · All systems

Affected

  • introduced 7.0.0, fixed 7.24.0 (semver)

Fixed versions

7.24.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences