Skip to content

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

HighCVSS 8.7 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
azure linux grpc(Azure Linux 3.0) All versions No fix listed No fix yet
elixir-grpc grpc >= 0.3.0-alpha.2, < 1.0.0; >= d1abe70a6cad6dac4a3f8235d883d7c896989560, < 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00 1.0.0, 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00 Fixed
hex grpc(Hex) >= 0.3.1, < 1.0.0 1.0.0 Fixed

Affected products

ProductAffected versionsFixed in
hex grpc(Hex) >= 0.3.1, < 1.0.0 1.0.0
elixir-grpc grpc >= 0.3.0-alpha.2, < 1.0.0 1.0.0
elixir-grpc grpc >= d1abe70a6cad6dac4a3f8235d883d7c896989560, < 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00
azure linux grpc(Azure Linux:3.0) All versions No fix listed

References