CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server
CVE-2026-121809Published 13 Nov 2026, 16:18 UTC
Real-world risk
1.5/ 10Low
Routine
If the vulnerable configuration applies to you: 3.4
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| grpcNiche | >= 0.3.1, < 1.0.0; >= 1.0.0, < 1.1.0 | 1.0.0, 1.1.0 |
What to do
Update to a fixed version: 1.0.0, 1.1.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.7% chance of exploitation in 30 days (percentile 53), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.45 × threat 0.851.530
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 13 Nov 2026 Published
- 3 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-400, CWE-835
References
- https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xhrelated, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-121809.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-121809related
- https://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310related
- https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292patch
- https://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85patch
- CVE-2026-121809 on CVE.org