CVE-2026-121809 CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server

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

Weakness: CWE-835, CWE-400

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.

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

Products include Elixir-Grpc Grpc, Elixir-Grpc Grpc Server.

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

Is CVE-2026-121809 in your software?

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

Check your SBOMs for free