CVE Catalog

CVE-2026-69209

HighCVSS 7.5
Published: Translated: NVD NIST

Summary

Http4s (versions prior to 0.23.35 and 1.0.0-M47) has a memory exhaustion vulnerability in the shared WebSocket decoder. The decoder allows unbounded message buffering because defragmentation accumulates fragments without a limit and FrameTranscoder accepts declared lengths up to Int.MaxValue. A remote client that completes a WebSocket handshake can exhaust server memory.

Risk Assessment

Availability risk: an attack can exhaust server memory, resulting in denial of service (DoS).

Recommendation

Update Http4s to version 0.23.35 or 1.0.0-M47. Configure a WebSocket message size limit using EmberServerBuilder.withMaxWebSocketMessageSize.

Other vulnerabilities in Http4s

See all
Original NVD description (English source)

Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The shared WebSocket decoder permits unbounded message buffering because defragmentation accumulates fragments without a limit and FrameTranscoder accepts declared lengths up to Int.MaxValue. A remote client that completes a WebSocket handshake against an http4s-blaze-server or http4s-ember-server endpoint can exhaust server memory with oversized frames or fragmented messages. The patched decoder applies a configurable 64 MiB default limit to individual frames and defragmented messages through EmberServerBuilder.withMaxWebSocketMessageSize. This issue is fixed in versions 0.23.35 and 1.0.0-M47.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS