CVE-2026-85024

undici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompression

State
Published
Severity
5.9 Medium
Published
Sep 4, 2026
Updated
Sep 4, 2026
Reserved
Sep 2, 2026

Read the record on cve.org

Description

undici bundles a WebSocket client whose permessage-deflate size-limit cleanup removes all listeners from the internal zlib inflate stream, including its error listener, while that stream can still emit. When a remote peer sends a compressed payload that crosses the built-in 128 MiB decompressed-payload limit and then contains a malformed DEFLATE byte, the inflate stream emits a data error with no listener attached, which Node.js treats as a fatal unhandled error and terminates the entire process. Exploitation is remote and unauthenticated, requires no application mistake, and is asymmetric, since roughly 130 KB on the wire expands past the limit and crashes the process, and reconnecting can repeat the crash. This affects undici versions from 6.25.0 up to 6.28.1, from 7.28.0 up to 7.29.1, and from 8.1.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hopenjs

Weaknesses

Affected Products

ProductVersions
undiciundici
  • 6.25.0 to before 6.28.1Affected
  • 6.28.1Not affected
  • 7.28.0 to before 7.29.1Affected
  • 7.29.1Not affected
  • 8.1.0 to before 8.10.2Affected
  • 8.10.2Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.