Description
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.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-400 — CWE-400: Uncontrolled Resource Consumption
- CWE-770 — CWE-770: Allocation of Resources Without Limits or Throttling
Affected products
| Vendor | Product | Versions |
|---|---|---|
| http4s | http4s | < 0.23.35; >= 1.0.0-M1, < 1.0.0-M47 |
References
- https://github.com/http4s/http4s/security/advisories/GHSA-jrxx-w2m8-5hf5 (x_refsource_CONFIRM)
- https://github.com/http4s/http4s/commit/d578c3c9da6193627d40fa785e612cda7fcd77b3 (x_refsource_MISC)
- https://github.com/http4s/http4s/releases/tag/v0.23.35 (x_refsource_MISC)
- https://github.com/http4s/http4s/releases/tag/v1.0.0-M47 (x_refsource_MISC)
Generated from the official CVE List on 16 Sep 2026 07:01 UTC.