CVE-2026-121808 Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec

High 8.2 Published Updated
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.

PackageAffectedFixed in
grpc Hex
pkg:hex/grpc
From 0.4.01.0.0
grpc_core Hex
pkg:hex/grpc_core
From 1.0.01.1.0
Status by vendor (1)
WhoReleaseStatusPackages
Upstreamfixedgrpc (1.0.0), grpc_core (1.1.0)
pkg:hex/grpc
pkg:hex/grpc_core

Products include Elixir-Grpc Grpc, Elixir-Grpc Grpc Core.

CPE match criteria (2)
CPE 2.3Versions
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.

Is CVE-2026-121808 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free