CVE-2026-121809
HIGH 8.2CVSS 4.0CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server
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.
- Published
- 13 Nov 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-400CWE-835
- Also known as
- EEF-CVE-2026-121809GHSA-c2h9-f9cc-27xh
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-121809JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | HIGH 8.2 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | grpccpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:* |
>= 0.3.1, < 1.0.0 | 1.0.0 |
| CVE List | https://github.com | elixir-grpc/grpccpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:* |
>= 6d8a09ad919e208fb600538ac8b19bd733a04310, < 0332faae5f5e132314794dbfdae5edecbccea292 | 0332faae5f5e132314794dbfdae5edecbccea292 |
| CVE List | https://repo.hex.pm | grpc_servercpe:2.3:a:elixir-grpc:grpc_server:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.1.0 | 1.1.0 |
| CVE List | https://github.com | elixir-grpc/grpccpe:2.3:a:elixir-grpc:grpc_server:*:*:*:*:*:*:*:* |
>= 0332faae5f5e132314794dbfdae5edecbccea292, < 38955f1392cbf08eef231a347348445410455c85 | 38955f1392cbf08eef231a347348445410455c85 |
| OSV | Hex | grpc | >= 0.3.1, < 1.0.0 | 1.0.0 |
| OSV | Hex | grpc_server | >= 1.0.0, < 1.1.0 | 1.1.0 |
References
- https://cna.erlef.org/cves/CVE-2026-121809.html · related, WEB
- https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292 · patch, FIX
- https://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85 · patch, FIX
- https://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310 · related, WEB
- https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-121809 · related
- https://hex.pm/packages/grpc · PACKAGE
- https://hex.pm/packages/grpc_server · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 Nov 2026)
- 25 Nov 2026 20:10 UTC · CVE List: first stored (published 13 Nov 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 13 Nov 2026)