{"id":"CVE-2026-69218","aliases":["CVE-2026-69218","GHSA-cp4q-fqw9-4hf6"],"related":[],"kind":"vulnerability","state":"published","title":"Http4s Ember HTTP/2: unbounded continuation frame accumulation","summary":"Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, When Ember receives an HTTP/2 HEADERS or PUSH_PROMISE frame without END_HEADERS, H2Connection buffers the header block and subsequent CONTINUATION fragments without a size bound. A remote peer can keep an incomplete block open and exhaust heap memory before request decoding, affecting an ember-server or ember-client configured with withHttp2. The remediation tracks accumulated size against SETTINGS_MAX_HEADER_LIST_SIZE derived from EmberServerBuilder.maxHeaderSize or EmberClientBuilder.maxResponseHeaderSize, sends GOAWAY when the limit is exceeded, and applies receiveHeadersTimeout to incomplete blocks. This issue is fixed in versions 0.23.35 and 1.0.0-M47.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, When Ember receives an HTTP/2 HEADERS or PUSH_PROMISE frame without END_HEADERS, H2Connection buffers the header block and subsequent CONTINUATION fragments without a size bound. A remote peer can keep an incomplete block open and exhaust heap memory before request decoding, affecting an ember-server or ember-client configured with withHttp2. The remediation tracks accumulated size against SETTINGS_MAX_HEADER_LIST_SIZE derived from EmberServerBuilder.maxHeaderSize or EmberClientBuilder.maxResponseHeaderSize, sends GOAWAY when the limit is exceeded, and applies receiveHeadersTimeout to incomplete blocks. This issue is fixed in versions 0.23.35 and 1.0.0-M47.","source":"cvelist"},{"lang":"en","text":"When Ember receives an HTTP/2 `HEADERS` or `PUSH_PROMISE` frame without the `END_HEADERS` flag, it buffers the header block fragment and waits for subsequent `CONTINUATION` frames.  These accumulate unbounded until the connection closes. \n\n### Impact\n\nA remote, unauthenticated peer can exhaust the heap on any Ember endpoint that has HTTP/2 enabled:\n\n- **ember-server with `.withHttp2`**: any HTTP/2 client can trigger this against any reachable path (including paths that return 404).  No authentication is required because the attack completes before the request is decoded.\n- **ember-client with `.withHttp2`**:  a malicious or compromised origin server can trigger this via the response header block.  A single in-flight request is sufficient.\n\nMemory consumption is bounded only by the attacker's upload bandwidth and the connection lifetime.\n\n### Prerequisites\n\n- `EmberServerBuilder` configured with `.withHttp2`.\n    - For the server: the attacker can establish an HTTP/2 connection\n    - For the client: the application makes a request to an attacker-controlled origin.\nHTTP/2 incoming headers exceeding the configured size limit are buffer in order to generate an informative HTTP 413 response. If a client does not stop sending headers, this leads to memory exhaustion.\n\n### Patches\n\nThe fix bounds the accumulated header-block size at `SETTINGS_MAX_HEADER_LIST_SIZE` (derived from `EmberServerBuilder.maxHeaderSize` / `EmberClientBuilder.maxResponseHeaderSize`).  When a `CONTINUATION` frame would push the accumulated block over that limit, the connection is terminated with `GOAWAY`.  The `receiveHeadersTimeout` additionally bounds how long an incomplete header block may remain open.\n\n### Workarounds\n\n- Disable HTTP/2 (`.withHttp2`) until upgraded (default).  It is off by default.\n- If HTTP/2 must remain enabled, place ember behind a reverse proxy that terminates HTTP/2 and speaks HTTP/1.1 to ember.","format":"markdown","source":"ghsa"}],"published":"2026-09-15T19:22:57.407Z","modified":"2026-09-17T17:16:46.710Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 0.23.35","status":"affected"},{"version":">= 1.0.0-M1, < 1.0.0-M47","status":"affected"}],"vendor":"http4s","product":"http4s","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.12","purl":"pkg:maven/org.http4s/http4s-ember-core_2.12","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.13","purl":"pkg:maven/org.http4s/http4s-ember-core_2.13","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_3","purl":"pkg:maven/org.http4s/http4s-ember-core_3","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-M1","status":"affected","fixed":"1.0.0-M47"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.13","purl":"pkg:maven/org.http4s/http4s-ember-core_2.13","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-M1","status":"affected","fixed":"1.0.0-M47"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_3","purl":"pkg:maven/org.http4s/http4s-ember-core_3","source":"ghsa"}],"references":[{"url":"https://github.com/http4s/http4s/security/advisories/GHSA-cp4q-fqw9-4hf6","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/commit/6e8eccd64a6a74ab4811897881e95e0e1b3a818e","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/commit/f9dcca4f5a17992ac0972fafd7920f9bc12cdc51","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/http4s/http4s/releases/tag/v0.23.35","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/releases/tag/v1.0.0-M47","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-17T16:46:52.034Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-69218","url":"https://www.cve.org/CVERecord?id=CVE-2026-69218","licence":"CVE Terms of Use","modified":"2026-09-17T16:47:13.590Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cp4q-fqw9-4hf6","url":"https://github.com/advisories/GHSA-cp4q-fqw9-4hf6","licence":"CC-BY-4.0","modified":"2026-09-15T20:15:05.050Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-69218","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69218","licence":"Public domain","modified":"2026-09-17T17:16:46.710Z"}],"updatedAt":"2026-11-25T22:59:38.675Z","epss":{"score":0.0046,"percentile":0.41591,"date":"2026-12-01T12:00:22.000Z"}}