Hex
CVE-2026-121809
CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server
- Severity
- High 8.2
- Published
- 13 Nov 2026
- Last changed
- 19 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.0.0, 1.1.0
- Exploit chance
- 0.7% in the next 30 daysHigher than 52% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
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- Sources
- CVE Program
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 software
| Software | Affected versions |
|---|---|
grpcHex · osv:Hex:grpc |
|
grpc_serverHex · osv:Hex:grpc_server |
|
About grpc
Vulnerabilities in grpc
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 3
- Known exploited
- 0
- CVE-2026-124278Path bindings ignored for gRPC Content-Types on transcoded routes in elixir-grpc grpc_serverHigh 7.6 13 Nov 2026
- CVE-2026-121808Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codecHigh 8.2 13 Nov 2026
About grpc_server
Vulnerabilities in grpc_server
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 4
- Known exploited
- 0
- CVE-2026-124279Streaming request body limit enforced only after an 8 MB read in elixir-grpc grpc_serverHigh 8.2 13 Nov 2026
- CVE-2026-124278Path bindings ignored for gRPC Content-Types on transcoded routes in elixir-grpc grpc_serverHigh 7.6 13 Nov 2026
- CVE-2026-123635Refused calls drain the HTTP/2 connection flow-control window in elixir-grpc grpc_serverMedium 6.3 13 Nov 2026
- CVE-2026-71397Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_serverHigh 8.2 6 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-121809