# CVE-2026-121809: CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-11-13T16:18:37.954Z
- Modified: 2026-11-25T17:23:02.943Z
- Also known as: EEF-CVE-2026-121809, GHSA-c2h9-f9cc-27xh
- Weaknesses: CWE-400, CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

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.

(As written by CVE List.)

## Affected

- grpc: from 0.3.1 before 1.0.0
- elixir-grpc/grpc: from 6d8a09ad919e208fb600538ac8b19bd733a04310 before 0332faae5f5e132314794dbfdae5edecbccea292; from 0332faae5f5e132314794dbfdae5edecbccea292 before 38955f1392cbf08eef231a347348445410455c85
- grpc_server: from 1.0.0 before 1.1.0
- grpc (Hex): from 0.3.1 before 1.0.0
- grpc_server (Hex): from 1.0.0 before 1.1.0
- https://github.com/elixir-grpc/grpc: from 6d8a09ad919e208fb600538ac8b19bd733a04310 before 0332faae5f5e132314794dbfdae5edecbccea292; from 0332faae5f5e132314794dbfdae5edecbccea292 before 38955f1392cbf08eef231a347348445410455c85

## Every score

- EEF: CVSS:4.0 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:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-121809.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-121809> (related)
- <https://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310> (related, web)
- <https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292> (fix, patch)
- <https://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85> (fix, patch)
- <https://hex.pm/packages/grpc> (package)
- <https://hex.pm/packages/grpc_server> (package)

## Sources

- CVE List: [CVE-2026-121809](https://www.cve.org/CVERecord?id=CVE-2026-121809), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-121809](https://osv.dev/vulnerability/EEF-CVE-2026-121809), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-121809](https://nvd.nist.gov/vuln/detail/CVE-2026-121809), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-121809 · Whole record: https://cve.day/CVE-2026-121809.json · Rebuilt by cve.day 2026-11-25T22:59:50.744Z
