CVE-2026-54556
Published:August 26, 2026
Updated:September 24, 2026
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.
Affected Packages
https://github.com/http4s/http4s.git (GITHUB):
Affected version(s) >=v0.22.5 <v0.23.35Fix Suggestion:
Update to version v0.23.35org.http4s:http4s-ember-core_2.13 (JAVA):
Affected version(s) >=1.0.0-M2 <1.0.0-M47Fix Suggestion:
Update to version 1.0.0-M47org.http4s:http4s-ember-core_2.12 (JAVA):
Affected version(s) >=0.10.0-M10 <0.23.35Fix Suggestion:
Update to version 0.23.35org.http4s:http4s-ember-core_3 (JAVA):
Affected version(s) >=1.0.0-M22 <1.0.0-M47Fix Suggestion:
Update to version 1.0.0-M47org.http4s:http4s-ember-core_2.13 (JAVA):
Affected version(s) >=0.10.0-M10 <0.23.35Fix Suggestion:
Update to version 0.23.35org.http4s:http4s-ember-core_3 (JAVA):
Affected version(s) >=0.22.0-M8 <0.23.35Fix Suggestion:
Update to version 0.23.35Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Improper Handling of Highly Compressed Data (Data Amplification)
EPSS
Base Score:
0.30