Summary
CVE-2026-121809 is a high-severity denial-of-service vulnerability (infinite loop, CWE-835 / CWE-400) in the elixir-grpc gRPC server implementations. A remote, unauthenticated client can pin a scheduler at full CPU by sending a truncated message on a streaming RPC. The CVE record gives a CVSS score of 8.2 (High).
Technical details
- Root cause: the
read_stream/1function does not correctly handle truncated gRPC messages on streaming RPCs. When the length prefix is incomplete and is followed byEND_STREAM, the reader keeps asking for more data that never arrives. - Trigger conditions: a client sends a partial message with an incomplete length prefix, followed by
END_STREAM, on a streaming RPC. The advisory states that a single 5-byte length prefix sent withEND_STREAMis enough. - Attack vector: network. No authentication or user interaction is required.
- Impact: the loop consumes CPU indefinitely. One scheduler stays busy for as long as the connection remains open, which degrades or denies service (availability impact only).
Affected software
grpc_server(elixir-grpc): versions 1.0.0 up to, but not including, 1.1.0grpc(elixir-grpc): versions 0.3.1 up to, but not including, 1.0.0
Severity
- CVSS base score: 8.2 (High)
- Vector, as given in the CVE record (CVSS v4.0, not v3.1):
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: upgrade
grpc_serverto 1.1.0 or later. Upgradegrpcto 1.0.0 or later. - Review the elixir-grpc GitHub Security Advisory GHSA-c2h9-f9cc-27xh for the fix details. The fix is in commit 38955f1.
- I found no workaround in the sources I reviewed. Until you patch, limit exposure of gRPC endpoints to trusted clients through network controls.

