CVE-2026-121809: CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server
Published 2026-11-13 · Updated 2026-11-25 · Also known as EEF-CVE-2026-121809, GHSA-c2h9-f9cc-27xh
Summary
An infinite loop vulnerability in elixir-grpc allows unauthenticated attackers to trigger CPU exhaustion via truncated streaming gRPC messages. Maintainers of Elixir applications using affected grpc or grpc_server packages should update immediately.
Who is affected
Deployments exposing client-streaming or bidirectional-streaming RPC methods are vulnerable to denial of service attacks. A single 5-byte request from an unauthenticated client can occupy a BEAM scheduler indefinitely at full CPU load until the connection closes.
Exploitability
The vulnerability is exploitable over a network with low complexity and low privileges required, though it requires a partial precondition where a stream ends inside a message. The EPSS score is 0.007 and it is not currently listed in the CISA KEV catalog.
Remediation
- Upgrade the Hex package grpc to version 1.0.0 or later.
- Upgrade the Hex package grpc_server to version 1.1.0 or later.
How to check your project
- Check mix.exs and mix.lock for dependencies on Hex package 'grpc' versions from 0.3.1 up to before 1.0.0.
- Check mix.exs and mix.lock for dependencies on Hex package 'grpc_server' versions from 1.0.0 up to before 1.1.0.
Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Hex | grpc |
>= 0.3.1, < 1.0.0 | 1.0.0 | mix deps.update grpc |
| Hex | grpc_server |
>= 1.0.0, < 1.1.0 | 1.1.0 | mix deps.update grpc_server |
CVSS 4.0 vector
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
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | None |
| Availability (vulnerable system) | High |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the CPU exhaustion?
When a streaming request body ends inside a gRPC message, the reader receives empty chunks continuously, causing an infinite loop that fails to update the buffer.
Are all Elixir applications using gRPC vulnerable?
No, the server must expose at least one client-streaming or bidirectional-streaming RPC method to be affected.
Does an I/O timeout mitigate this issue?
No, because each iteration is a local process message round-trip rather than a socket wait, and idle timeouts often default to infinity.
Original advisory description
References
- ADVISORY https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh
- WEB https://cna.erlef.org/cves/CVE-2026-121809.html
- WEB https://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310
- FIX https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292
- FIX https://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85
- PACKAGE https://hex.pm/packages/grpc
- PACKAGE https://hex.pm/packages/grpc_server
Source records: EEF-CVE-2026-121809 (OSV.dev) · EPSS by FIRST, 2026-11-26.