Skip to content
OpenAdvisories
High · 7.5 CVE-2026-69210 EUVD-2026-79192

Http4s: WebSocket decoder accepts negative length, causing infinite decode loop

Published Sep 15, 2026 · Updated Sep 17, 2026 · Assigned by GitHub_M

Description

Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, WebSocket FrameTranscoder.bodyLength rejects extended payload lengths above Integer.MAX_VALUE but permits negative 64-bit lengths. A remote client that completes a WebSocket handshake through an Ember server can send such a frame, causing the decoder to return an empty frame without advancing its input. The decode loop then runs indefinitely, pins a worker at full CPU, and grows an ArrayBuffer without bound, resulting in denial of service. This issue is fixed in versions 0.23.35 and 1.0.0-M47.

Affected products

VendorProductAffectedFixed
http4s http4s < 0.23.35, >= 1.0.0-M1, < 1.0.0-M47 —

References