CVE-2026-121809 CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server
- Exploited in the wild
- Not known
- Fix
- 1.0.0
What is CVE-2026-121809?
CVE-2026-121809 is a high-severity vulnerability in elixir-grpc grpc, published on 13 Nov 2026.
Official description
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in elixir-grpc grpc_server and grpc allows unauthenticated attackers to occupy a BEAM scheduler indefinitely via a client-streaming or bidirectional-streaming request whose body ends inside a gRPC message.
GRPC.Server.Adapters.Cowboy.read_stream/1 (grpc_server/lib/grpc/server/adapters/cowboy.ex, and the Cowboy adapter in grpc before the package split) asks for more data whenever the buffer does not hold a complete message. Once the request body has ended, every further read returns an empty chunk, so the buffer never changes and the function retries without end. A single 5-byte length prefix sent with END_STREAM keeps one scheduler busy for as long as the connection stays open, and repeated requests exhaust all schedulers.
This issue affects grpc: from 0.3.1 before 1.0.0; grpc_server: from 1.0.0 before 1.1.0.
Which versions are affected by CVE-2026-121809?
2 open source packages ship an affected version, including grpc and grpc_server. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
grpc Hexpkg:hex/grpc | From 0.3.1 | 1.0.0 |
grpc_server Hexpkg:hex/grpc_server | From 1.0.0 | 1.1.0 |
Status by vendor (1)
| Who | Release | Status | Packages |
|---|---|---|---|
| Upstream | fixed | grpc (1.0.0), grpc_server (1.1.0)pkg:hex/grpcpkg:hex/grpc_server |
Products include Elixir-Grpc Grpc, Elixir-Grpc Grpc Server.
CPE match criteria (2)
| CPE 2.3 | Versions |
|---|---|
cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:* | from 0.3.1, before 1.0.0 |
cpe:2.3:a:elixir-grpc:grpc_server:*:*:*:*:*:*:*:* | from 1.0.0, before 1.1.0 |
How do I fix CVE-2026-121809?
Upgrade grpc to 1.0.0 or later.
Is CVE-2026-121809 being exploited?
There is no known exploitation of CVE-2026-121809 in the wild and no public exploit code.
Sources
Also known as EEF-CVE-2026-121809, GHSA-c2h9-f9cc-27xh.