CVE-2026-48854

Unbounded request body accumulation causes memory exhaustion in elixir-grpc/grpc

State
Published
Severity
8.7 High
Published
Jun 15, 2026
Updated
Sep 24, 2026
Reserved
May 25, 2026

Read the record on cve.org

Description

Allocation of Resources Without Limits or Throttling vulnerability in elixir-grpc grpc allows unauthenticated attackers to exhaust the BEAM's memory and crash the server by streaming a large or slow-trickle unary request body.

'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3 (lib/grpc/server/adapters/cowboy/handler.ex) accumulates every received chunk into a single growing binary with no size cap. Additionally, when the client omits the grpc-timeout header, the per-chunk read timeout resolves to :infinity, allowing a slow-trickle client to keep the connection alive indefinitely while memory grows. A single connection is sufficient to exhaust server memory and crash the node.

This issue affects grpc: from 0.3.0-alpha.2 before 1.0.0.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NEEF

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
grpcelixir-grpc
  • 0.3.0-alpha.2 to before 1.0.0Affected
grpcelixir-grpc
  • d1abe70a6cad6dac4a3f8235d883d7c896989560 to before 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00Affected

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.