CVE-2026-54556
8.2http4s · http4s
An unauthenticated HTTP/2 peer can trigger an out-of-memory denial of service in the http4s Ember backend due to improper handling of compressed HPACK header data.
Executive summary
A high-severity memory exhaustion vulnerability in the http4s Ember backend allows unauthenticated remote attackers to cause a denial of service via malicious HTTP/2 traffic.
Vulnerability
This vulnerability, categorized as CWE-409, arises because the HPACK decoder fails to account for indexed headers and per-header overhead during size validation. An unauthenticated attacker can send crafted HTTP/2 header blocks that expand significantly during decoding, leading to heap exhaustion.
Business impact
The ability for an unauthenticated attacker to remotely crash an application leads to significant service disruption and potential downtime for business-critical operations. Given the CVSS score of 8.2, this vulnerability is classified as High severity because it allows for an easy-to-trigger denial of service that can impact availability across any infrastructure relying on the http4s Ember backend for HTTP/2 communication.
Remediation
Immediate Action: Update all instances of the http4s library to version 0.23.35 or 1.0.0-M47 as specified in the official security advisory.
Proactive Monitoring: Monitor application logs and system resource metrics for unexplained memory spikes or frequent process restarts associated with the Ember HTTP/2 backend.
Compensating Controls: If immediate patching is not feasible, consider disabling HTTP/2 support in the http4s configuration to prevent the triggering of the vulnerable code path.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
This vulnerability presents a clear risk to the availability of services using the http4s framework. IT and security teams should prioritize upgrading to the patched versions immediately to eliminate the possibility of resource exhaustion attacks. Given the ease of triggering this flaw through standard network traffic, prompt remediation is essential to maintain system stability.