CVE-2026-121808 Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec
- Exploited in the wild
- Not known
- Fix
- 1.0.0
What is CVE-2026-121808?
CVE-2026-121808 is a high-severity vulnerability in elixir-grpc grpc, published on 13 Nov 2026.
Official 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_core: from 1.0.0 before 1.1.0; grpc: from 0.4.0 before 1.0.0.
Weakness: CWE-409
Which versions are affected by CVE-2026-121808?
2 open source packages ship an affected version, including grpc and grpc_core. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
grpc Hexpkg:hex/grpc | From 0.4.0 | 1.0.0 |
grpc_core Hexpkg:hex/grpc_core | From 1.0.0 | 1.1.0 |
Status by vendor (1)
| Who | Release | Status | Packages |
|---|---|---|---|
| Upstream | fixed | grpc (1.0.0), grpc_core (1.1.0)pkg:hex/grpcpkg:hex/grpc_core |
Products include Elixir-Grpc Grpc, Elixir-Grpc Grpc Core.
CPE match criteria (2)
| CPE 2.3 | Versions |
|---|---|
cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:* | from 0.4.0, before 1.0.0 |
cpe:2.3:a:elixir-grpc:grpc_core:*:*:*:*:*:*:*:* | from 1.0.0, before 1.1.0 |
How do I fix CVE-2026-121808?
Upgrade grpc to 1.0.0 or later.
Is CVE-2026-121808 being exploited?
There is no known exploitation of CVE-2026-121808 in the wild and no public exploit code.
Sources
Also known as EEF-CVE-2026-121808, GHSA-xxp9-7hp4-rqwp.