# CVE-2026-71397 - Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc\_server

DevFeed: [CVE-2026-71397 - Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc\_server](<https://devfeed.tech/articles/cve-2026-71397-unbounded-request-body-accumulation-on-streaming-rpcs-causes-memory-exhaustion-in-grpc-server-121676.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-71397>)

Author: cvefeed.io

Published: 2026-11-06T21:17:10Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [gRPC](<https://devfeed.tech/topics/grpc.md>), [memory handling](<https://devfeed.tech/topics/memory-handling.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [crash](<https://devfeed.tech/tags/crash.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-71397](<https://devfeed.tech/tags/cve-2026-71397.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [elixir-grpc](<https://devfeed.tech/tags/elixir-grpc.md>), [grpc](<https://devfeed.tech/tags/grpc.md>), [grpc-server](<https://devfeed.tech/tags/grpc-server.md>), [memory](<https://devfeed.tech/tags/memory.md>), [request](<https://devfeed.tech/tags/request.md>), [server](<https://devfeed.tech/tags/server.md>), [streaming](<https://devfeed.tech/tags/streaming.md>)

## AI overview

CVE-2026-71397 (CVSS 8.2 High) lets unauthenticated clients exhaust memory and crash grpc_server through oversized client-streaming or bidirectional-streaming requests. The streaming read path does not enforce the configured max_body_size, and reading_stream/1 keeps appending received chunks until a complete length-prefixed message arrives. A client can send a declared large message across many small HTTP/2 DATA frames, causing unbounded buffering. The unary read path does enforce the cap. Affected versions are grpc_server 1.0.0 through versions before 1.0.6.

## Source excerpt

CVE ID :CVE-2026-71397 Published : Nov. 6, 2026, 9:17 p.m. | 53 minutes ago 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. Severity: 8.2 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...