{"id":"CVE-2026-54556","published":"2026-08-26T14:10:22Z","modified":"2026-08-29T02:38:44Z","title":"Http4s: HTTP/2 Denial of Service with Ember Backend","vendor":"http4s","product":"http4s","tier":"tail","description":{"text":"Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, an unauthenticated HTTP/2 peer can cause an out-of-memory denial of service in the Ember backend with HTTP/2 enabled. The Hpack wrapper in ember-core/shared/src/main/scala/org/http4s/ember/core/h2/Hpack.scala concatenates HEADERS and CONTINUATION frame fragments and decodes them into a single List, but maxHeaderSize accounting does not include indexed headers or HPACK per-header overhead. A small compressed header block can therefore expand into a much larger decoded representation that remains in memory for processing. Servers exposed to untrusted HTTP/2 traffic and clients directed to an untrusted HTTP/2 server are affected, and concurrent malicious connections can exhaust the process heap. This issue is fixed in versions 0.23.35 and 1.0.0-M47.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00524,"percentile":0.45334,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/http4s/http4s/security/advisories/GHSA-vmm3-xgcx-67hm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/http4s/http4s/commit/6e8eccd64a6a74ab4811897881e95e0e1b3a818e","tags":["x_refsource_MISC"]},{"url":"https://github.com/http4s/http4s/releases/tag/v0.23.35","tags":["x_refsource_MISC"]},{"url":"https://github.com/http4s/http4s/releases/tag/v1.0.0-M47","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":9.07},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"http4s","affectedVersions":[{"vendor":"http4s","product":"http4s","versions":["< 0.23.35",">= 1.0.0-M1, < 1.0.0-M46"]},{"vendor":"org.http4s","product":"http4s-ember-core_2.12","versions":["< 0.23.35"]},{"vendor":"org.http4s","product":"http4s-ember-core_2.13","versions":[">= 1.0.0-M1, < 1.0.0-M46","< 0.23.35"]},{"vendor":"org.http4s","product":"http4s-ember-core_3","versions":[">= 1.0.0-M1, < 1.0.0-M46","< 0.23.35"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-29T02:38:20.242464Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.12","vulnerableRanges":["<0.23.35"],"patched":["0.23.35"],"from":["GHSA-vmm3-xgcx-67hm"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.13","vulnerableRanges":[">=1.0.0-M1, <1.0.0-M47","<0.23.35"],"patched":["1.0.0-M47","0.23.35"],"from":["GHSA-vmm3-xgcx-67hm"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_3","vulnerableRanges":["<0.23.35",">=1.0.0-M1, <1.0.0-M47"],"patched":["0.23.35","1.0.0-M47"],"from":["GHSA-vmm3-xgcx-67hm"],"provenance":"source"}],"summary":{"text":"The flaw is in the HTTP/2 header handling (the Hpack wrapper in the Ember backend's core module) of http4s, a Scala interface for HTTP services. Header size limits fail to account for indexed headers and per-header overhead, so a small compressed header block can expand into a much larger decoded structure in memory. An unauthenticated remote attacker can send crafted HTTP/2 traffic, with HTTP/2 enabled, to a server running the Ember backend, or direct a client to an untrusted HTTP/2 server, to exhaust the process heap through concurrent malicious connections and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:48Z"},"euvd":{"id":"EUVD-2026-66558","exploited":false,"provenance":"source"}}