Skip to content
Threat Brief

← All advisories

CVE-2026-121809

High 8.2No known exploitationFix available

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

Record last updated

CVSS score

8.2

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.7%

Higher than 52% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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-400, CWE-835

Patching and mitigation

Patch status
Fix available (source: CVE record (EEF))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
elixir-grpcgrpcfrom 0.3.1 before 1.0.01.0.0CVE Program
elixir-grpcgrpcfrom 6d8a09ad919e208fb600538ac8b19bd733a04310 before 0332faae5f5e132314794dbfdae5edecbccea2920332faae5f5e132314794dbfdae5edecbccea292CVE Program
elixir-grpcgrpc_serverfrom 0332faae5f5e132314794dbfdae5edecbccea292 before 38955f1392cbf08eef231a347348445410455c8538955f1392cbf08eef231a347348445410455c85CVE Program
elixir-grpcgrpc_serverfrom 1.0.0 before 1.1.01.1.0CVE Program

Timeline

  1. Disclosure

    CVE record published by EEF

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (EEF)

    Source: CVE record (EEF) (opens in a new tab)

Vendor guidance and references