CVE-2026-71397 Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_server
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| elixir-grpc grpc server | >= 1.0.0, < 1.0.6; >= 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00, < 0b663ca53dbf0f36f7f67ff1d0026f4482a18915 | 0b663ca53dbf0f36f7f67ff1d0026f4482a18915, 1.0.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| elixir-grpc grpc server | >= 1.0.0, < 1.0.6 | 1.0.6 |
| elixir-grpc grpc server | >= 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00, < 0b663ca53dbf0f36f7f67ff1d0026f4482a18915 | 0b663ca53dbf0f36f7f67ff1d0026f4482a18915 |
References
- Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_server exploit related vendor-advisory
- EEF CNA record for CVE-2026-71397 related
- OSV record EEF-CVE-2026-71397 related
- Introducing commit 49e18c3 in elixir-grpc/grpc related
- Fix commit 0b663ca in elixir-grpc/grpc patch
- ENISA EUVD EUVD-2026-118499 third-party-advisory