Technical impact
An attacker can send crafted HPACK or QPACK prefixed‑integer sequences over HTTP/2 or HTTP/3 that have no meaningful size limits. The cowlib decoder reads continuation octets until a terminating byte, but does not cap the number of octets or the overall integer value. For each octet processed, a new bignum is created whose width grows linearly with the chain length, and the total transient memory usage grows quadratically with the encoded length. A malicious payload can therefore force the Erlang VM to allocate hundreds of megabytes of temporary structures and trigger intensive garbage collection, ultimately exhausting memory and causing process termination or widespread service disruption.
Affected Systems
Versions of cowlib from 2.0.0 up to (but not including) 2.19.0 are affected. The vulnerability impacts any Erlang or Elixir service that uses cowlib to process HTTP/2 or HTTP/3 traffic, including Cowboy, RabbitMQ’s management plugin, and other HTTP servers or clients built on top of cowlib. Any publicly exposed endpoint that accepts HPACK or QPACK frames is reachable by an unauthenticated remote peer.
Risk and Exploitability
The flaw carries a CVSS score of 8.7, indicating high severity. Its EPSS score is below 1 % and it is not listed in the CISA KEV catalog, suggesting that exploit activity is currently low, but the attack can be performed immediately with a custom packet crafted to use a long prefixed‑integer sequence. The vulnerability is remotely exploitable over the network and does not require authentication, so any external connection that can send HTTP/2 or HTTP/3 data can trigger memory exhaustion. The impact includes possible service unavailability or crashes, which can be amplified by concurrent connections or repeated requests.