{"id":"CVE-2026-88975","published":"2026-09-15T19:31:25Z","modified":"2026-09-16T14:43:14Z","title":"Http4s: Ember HTTP/2 buffers a frame's declared payload before checking SETTINGS_MAX_FRAME_SIZE","vendor":"http4s","product":"http4s","tier":"tail","description":{"text":"Http4s is a Scala interface for HTTP services. Prior to 0.23.37 and 1.0.0-M48, Ember’s HTTP/2 read loop parses a frame’s 24-bit declared length but waits to buffer the entire payload before comparing it with SETTINGS_MAX_FRAME_SIZE. An unauthenticated peer can declare a payload near 16 MiB on a connection where Ember advertised 16 KiB and either complete or slowly stream it, causing up to 1024-fold memory amplification per connection before processFrame can reject the frame. The shared H2Connection.readLoop affects withHttp2 servers and clients, while HTTP/2-disabled configurations are unaffected, and the patch rejects oversized frames before buffering their payloads. This issue is fixed in versions 0.23.37 and 1.0.0-M48.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.51115,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/http4s/http4s/security/advisories/GHSA-gq9p-f254-h286","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/http4s/http4s/commit/87cf334fa3f608ef7d3eb359e71e037ba3336d29","tags":["x_refsource_MISC"]},{"url":"https://github.com/http4s/http4s/releases/tag/v0.23.37","tags":["x_refsource_MISC"]},{"url":"https://github.com/http4s/http4s/releases/tag/v1.0.0-M48","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.22},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"http4s","affectedVersions":[{"vendor":"http4s","product":"http4s","versions":["< 0.23.37",">= 1.0.0-M1, < 1.0.0-M48"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-16T14:43:06.919100Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.13","vulnerableRanges":["<0.23.37",">=1.0.0-M1, <1.0.0-M48"],"patched":["0.23.37","1.0.0-M48"],"from":["GHSA-gq9p-f254-h286"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.12","vulnerableRanges":["<0.23.37"],"patched":["0.23.37"],"from":["GHSA-gq9p-f254-h286"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_3","vulnerableRanges":["<0.23.37",">=1.0.0-M1, <1.0.0-M48"],"patched":["0.23.37","1.0.0-M48"],"from":["GHSA-gq9p-f254-h286"],"provenance":"source"}],"summary":{"text":"The flaw lies in the http4s Scala HTTP library's Ember HTTP/2 implementation, specifically the shared H2Connection read loop, which buffers a frame's full declared payload before checking it against SETTINGS_MAX_FRAME_SIZE. An unauthenticated remote peer can exploit this against servers or clients with HTTP/2 enabled (withHttp2), declaring payloads near 16 MiB where 16 KiB was advertised, to cause up to roughly 1024-fold memory amplification per connection, with no authentication or user interaction required and HTTP/2-disabled configurations unaffected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:59Z"},"euvd":{"id":"EUVD-2026-79239","exploited":false,"provenance":"source"}}