CVE-2026-121809elixir-grpc grpc_server Uncontrolled Resource Consumption
NVD
Vulnerability Summary
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_server: from 1.0.0 before 1.1.0; grpc: from 0.3.1 before 1.0.0.
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_server: from 1.0.0 before 1.1.0; grpc: from 0.3.1 before 1.0.0.
CVSS v4.0 Base Metrics — Score 8.2 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- elixir-grpc grpc_server >= 1.0.0 and < 1.1.0
- elixir-grpc grpc_server >= 0332faae5f5e132314794dbfdae5edecbccea292 and < 38955f1392cbf08eef231a347348445410455c85
- elixir-grpc grpc >= 0.3.1 and < 1.0.0
- elixir-grpc grpc >= 6d8a09ad919e208fb600538ac8b19bd733a04310 and < 0332faae5f5e132314794dbfdae5edecbccea292
- elixir-grpc grpc_server 1.1.0
- elixir-grpc grpc_server 38955f1392cbf08eef231a347348445410455c85
- elixir-grpc grpc 1.0.0
- elixir-grpc grpc 0332faae5f5e132314794dbfdae5edecbccea292
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run elixir-grpc grpc_server and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 13, 2026Published
- Nov 13, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new elixir-grpc grpc_server CVEsYou are reading CVE-2026-121809. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore elixir-grpc grpc_server CVEs
External References
- Vendor Advisoryhttps://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh
- Referencehttps://cna.erlef.org/cves/CVE-2026-121809.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-121809
- Patchhttps://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292
- Patchhttps://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85
- Patchhttps://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310
Data last checked: Nov 18, 2026 02:10 UTC