Skip to content
OpenAdvisories
High · 7.5 CVE-2026-73493 EUVD-2026-57631GHSA-7ppr-r889-mcf2

http4s-blaze-server: Unbounded WebSocket message aggregation

Published Aug 12, 2026 · Updated Aug 13, 2026 · Assigned by GitHub_M

Description

Http4s (http4s-blaze-server) is a minimal, idiomatic Scala interface for HTTP services. Prior to 0.23.18 and 1.0.0-M42, http4s-blaze-server aggregates fragments of an incoming WebSocket message with no limit on total size or fragment count. A client that completes a WebSocket handshake can send an unterminated fragmented message and drive unbounded heap growth in the server JVM, resulting in denial of service through OutOfMemoryError. Any http4s application serving WebSocket routes over BlazeServerBuilder is affected, no non-default configuration is required, and maxWebSocketBufferSize does not bound the aggregate because it bounds only individual frames. A single connection sending continuation frames that never set FIN forces the server to buffer every fragment until the heap is exhausted, terminating the JVM with OutOfMemoryError on the blaze selector thread. Small fragments amplify the cost through per-frame object overhead, so a modest volume of wire bytes is sufficient. This issue is fixed in versions 0.23.18 and 1.0.0-M42.

Affected products

VendorProductAffectedFixed
http4s blaze < 0.23.18, >= 1.0.0-M1, < 1.0.0-M42 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.http4s:http4s-blaze-server_2.12 < 0.23.18 0.23.18 GHSA-7ppr-r889-mcf2
Maven org.http4s:http4s-blaze-server_2.13 < 0.23.18 0.23.18 GHSA-7ppr-r889-mcf2
Maven org.http4s:http4s-blaze-server_2.13 >= 1.0.0-M1, < 1.0.0-M42 1.0.0-M42 GHSA-7ppr-r889-mcf2
Maven org.http4s:http4s-blaze-server_3 >= 1.0.0-M1, < 1.0.0-M42 1.0.0-M42 GHSA-7ppr-r889-mcf2

References