CVE-2026-69202
Http4s Ember HTTP/2: unbounded inbound body buffering
Description
Ember's HTTP/2 stack replenishes the inbound flow-control window based on bytes received off the wire, not bytes consumed by the application. Received DATA is buffered in an unbounded per-stream channel. Flow control therefore provides no backpressure: a peer can stream a large or unbounded body faster than the application drains it and the connection retains every payload in heap.
This is the read-path mirror of the outbound queue issue.
This affects an Ember receiving a request body and an Ember client receiving a response body from a hostile server.
Impact
Unauthenticated remote denial of service (OOM) against any Ember server built
.withHttp2 for a non-draining or slow-draining route, and against an Ember client consuming from a hostile or compromised server.
Workarounds
- Disable HTTP/2 to remove the vector entirely.
- Apply an aggregate request-entity size limit (e.g.
EntityLimitermiddleware) on routes that consume the body. - Ensure handlers fully drain request bodies with aggressive idle timeouts.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.http4s » http4s-ember-core_2.12 | < 0.23.35 | 0.23.35 |
| org.http4s » http4s-ember-core_2.13 | < 0.23.35>= 1.0.0-M1, < 1.0.0-M47 | 0.23.35, 1.0.0-M47 |
| org.http4s » http4s-ember-core_3 | < 0.23.35>= 1.0.0-M1, < 1.0.0-M47 | 0.23.35, 1.0.0-M47 |
Blast radius
72% of the dependent artifacts (197) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 337 |
| 2 hops | 1,973 |
| 3 hops | 1,894 |
| 4 hops | 348 |
| 5 hops | 454 |
| 6 hops | 20 |
Most used dependents
- org.http4s » http4s-ember-client144 usages
- org.http4s » http4s-ember-server107 usages
- io.chrisdavenport » http4s-grpc23 usages
- io.github.pityka » tasks-core17 usages
- io.chrisdavenport » http4s-grpc-google-common-protos17 usages
- es.weso » srdfjena17 usages
- com.rlemaitre » pillars-core10 usages
- io.funktional » pillars-core9 usages
- com.github.agourlay » cornichon-core7 usages
- com.rlemaitre » pillars-core-tests7 usages
- io.funktional » pillars-core-tests7 usages
- org.typelevel » otel4s-sdk-exporter5 usages
- org.typelevel » otel4s-sdk-exporter-common5 usages
- com.disneystreaming.smithy4s » smithy4s-tests4 usages
- com.avast » sst-http4s-client-ember4 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Package | http4s/http4s | github.com |
| Web | http4s/http4s advisory GHSA-6m4x-pp6q-5jmm | github.com |
| Web | http4s/http4s commit 22d2335 | github.com |
| Web | http4s/http4s release v0.23.35 | github.com |
| Web | http4s/http4s release v1.0.0-M47 | github.com |
