CVE-2026-71397 PUBLISHED

Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_server

Assigner: EEF
Reserved: 19.08.2026 Published: 06.11.2026 Updated: 06.11.2026

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.

Metrics

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
CVSS Score: 8.2

Product Status

Vendor elixir-grpc
Product grpc_server
Versions Default: unaffected
  • affected from 1.0.0 to 1.0.6 (excl.)
Vendor elixir-grpc
Product grpc_server
Versions Default: unaffected
  • affected from 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00 to 0b663ca53dbf0f36f7f67ff1d0026f4482a18915 (excl.)

Affected Configurations

The server must expose at least one client-streaming or bidirectional-streaming RPC method.

Credits

  • Arpit Jain finder
  • Arpit Jain reporter
  • Arpit Jain remediation developer
  • Paulo Valente remediation reviewer
  • Jonatan Männchen / EEF coordinator

References

Problem Types

  • CWE-770 Allocation of Resources Without Limits or Throttling CWE

Impacts

  • An unauthenticated client can crash a grpc_server node through one streaming RPC connection. This takes down every service on that node.