Hex
CVE-2026-121808
Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec
- Severity
- High 8.2
- Published
- 13 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.0.0, 1.1.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 43% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Decompression bomb (CWE-409)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS 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- Sources
- CVE Program
Description
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-grpc grpc_core and grpc allows unauthenticated attackers to exhaust server memory via a compressed Erlang external term in a gRPC message body.
GRPC.Codec.Erlpack.decode/2 (grpc_core/lib/grpc/codec/erlpack.ex, and lib/grpc/codec/erlpack.ex before the package split) passes the message body to :erlang.binary_to_term/2. That function inflates a compressed term in full before it returns. The codec sets no limit on the decoded size, and its type checks run only on the decoded term. The server's max_body_size limit counts the compressed bytes of the request. A request with Content-Type: application/grpc+erlpack can therefore make the server allocate a term much larger than the request body.
This issue affects grpc: from 0.4.0 before 1.0.0; grpc_core: from 1.0.0 before 1.1.0.
Affected software
| Software | Affected versions |
|---|---|
grpcHex · osv:Hex:grpc |
|
grpc_coreHex · osv:Hex:grpc_core |
|
About grpc
Vulnerabilities in grpc
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-121809CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_serverHigh 8.2 13 Nov 2026
- CVE-2026-124278Path bindings ignored for gRPC Content-Types on transcoded routes in elixir-grpc grpc_serverHigh 7.6 13 Nov 2026
About grpc_core
This is the only vulnerability in grpc_core in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-121808