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

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.59% (percentile 42, 2026-11-28)
- **CWE:** CWE-400, CWE-835
- **Published:** 2026-11-13T16:18:37.954Z
- **Modified:** 2026-11-23T15:08:56.100Z

## Who should check

- Anyone running elixir-grpc grpc \>= 0.3.1, \< 1.0.0
- Anyone running elixir-grpc grpc \>= 6d8a09ad919e208fb600538ac8b19bd733a04310, \< 0332faae5f5e132314794dbfdae5edecbccea292
- Anyone running elixir-grpc grpc\_server \>= 1.0.0, \< 1.1.0
- Anyone running elixir-grpc grpc\_server \>= 0332faae5f5e132314794dbfdae5edecbccea292, \< 38955f1392cbf08eef231a347348445410455c85

## 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.

## Affected and fixed versions

- elixir-grpc grpc: \>= 0.3.1, \< 1.0.0 (cvelist)
- elixir-grpc grpc: \>= 6d8a09ad919e208fb600538ac8b19bd733a04310, \< 0332faae5f5e132314794dbfdae5edecbccea292 (cvelist)
- elixir-grpc grpc\_server: \>= 1.0.0, \< 1.1.0 (cvelist)
- elixir-grpc grpc\_server: \>= 0332faae5f5e132314794dbfdae5edecbccea292, \< 38955f1392cbf08eef231a347348445410455c85 (cvelist)

## Mitigation

- Upgrade grpc to 1.0.0 or later.
- Upgrade grpc to 0332faae5f5e132314794dbfdae5edecbccea292 or later.
- Upgrade grpc\_server to 1.1.0 or later.
- Upgrade grpc\_server to 38955f1392cbf08eef231a347348445410455c85 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-121809. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-121809.md
Affected: elixir-grpc grpc >= 0.3.1, < 1.0.0; elixir-grpc grpc >= 6d8a09ad919e208fb600538ac8b19bd733a04310, < 0332faae5f5e132314794dbfdae5edecbccea292; elixir-grpc grpc_server >= 1.0.0, < 1.1.0; elixir-grpc grpc_server >= 0332faae5f5e132314794dbfdae5edecbccea292, < 38955f1392cbf08eef231a347348445410455c85
Fixed in: elixir-grpc grpc 1.0.0, elixir-grpc grpc 0332faae5f5e132314794dbfdae5edecbccea292, elixir-grpc grpc_server 1.1.0, elixir-grpc grpc_server 38955f1392cbf08eef231a347348445410455c85

Steps:
1. Search this machine and project for elixir-grpc grpc, elixir-grpc grpc_server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-121809 being exploited?

There is no confirmed exploitation: CVE-2026-121809 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.59% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-121809?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-121809?

elixir-grpc grpc \>= 0.3.1, \< 1.0.0; elixir-grpc grpc \>= 6d8a09ad919e208fb600538ac8b19bd733a04310, \< 0332faae5f5e132314794dbfdae5edecbccea292; elixir-grpc grpc\_server \>= 1.0.0, \< 1.1.0; elixir-grpc grpc\_server \>= 0332faae5f5e132314794dbfdae5edecbccea292, \< 38955f1392cbf08eef231a347348445410455c85.

### Is there a fix for CVE-2026-121809?

Yes. Fixed in elixir-grpc grpc 1.0.0, elixir-grpc grpc 0332faae5f5e132314794dbfdae5edecbccea292, elixir-grpc grpc\_server 1.1.0, elixir-grpc grpc\_server 38955f1392cbf08eef231a347348445410455c85. Upgrade grpc to 1.0.0 or later. Upgrade grpc to 0332faae5f5e132314794dbfdae5edecbccea292 or later. Upgrade grpc\_server to 1.1.0 or later. Upgrade grpc\_server to 38955f1392cbf08eef231a347348445410455c85 or later.

### How do I check if I'm affected by CVE-2026-121809?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh>
- patch: <https://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310>
- patch: <https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292>
- patch: <https://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85>
- other: <https://cna.erlef.org/cves/CVE-2026-121809.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-121809>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-121809>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-121809> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-121809>
