Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_server
- State
- Published
- Severity
- 8.2 High
- Published
- Nov 6, 2026
- Updated
- Nov 19, 2026
- Reserved
- Aug 19, 2026
Description
Allocation of Resources Without Limits or Throttling vulnerability in elixir-grpc grpc_server allows unauthenticated attackers to exhaust memory and crash the node via an oversized client-streaming or bidirectional-streaming request body.
The streaming read clause of 'Elixir.GRPC.Server.Adapters.Cowboy.Handler':info/3 (grpc_server/lib/grpc/server/adapters/cowboy/handler.ex) never checks the configured max_body_size. Only the unary read path enforces that cap. 'Elixir.GRPC.Server.Adapters.Cowboy':reading_stream/1 (grpc_server/lib/grpc/server/adapters/cowboy.ex) appends every received chunk to its buffer until a complete length-prefixed message arrives. A client can declare a very large message and send it across many small HTTP/2 DATA frames, and the server buffers all of it.
This issue affects grpc_server: from 1.0.0 before 1.0.6.
| Product | Versions |
|---|---|
| grpc_server elixir-grpc | 1.0.0 to before 1.0.6 Affected |
| grpc_server elixir-grpc | 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00 to before 0b663ca53dbf0f36f7f67ff1d0026f4482a18915 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.2 High | EEF |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.