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.
Published: 2026-11-06
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: Denial of Service via memory exhaustion
Action: Patch
AI Analysis

Impact

The vulnerability allows an attacker to send an unbounded request body on client‑streaming or bidirectional‑streaming gRPC calls. Because the grpc_server code does not enforce the configured limit for streaming messages, every chunk received is appended to an internal buffer. An attacker can fragment a very large message over many small HTTP/2 DATA frames, causing the server to accumulate an arbitrarily large amount of data in memory. Once memory consumption rises above the available quota, the Erlang runtime or the operating system will terminate the node, resulting in a denial of service.

Affected Systems

The issue is present in the elixir‑grpc grpc_server component. Vulnerable releases are all versions from 1.0.0 up to and including 1.0.5. Versions 1.0.6 and later contain a fix that checks the maximum body size for streaming requests.

Risk and Exploitability

The CVSS score is 8.2, indicating a high impact vulnerability. No EPSS value is available, and the flaw has not yet been listed in the CISA KEV catalog. Because the bug accepts unauthenticated input from clients and does not require any special configuration, an attacker with network access to the gRPC endpoint can trigger the exploit by sending a large streaming request. The impact is fatal denial of service through memory exhaustion.

Generated by OpenCVE AI on November 6, 2026 at 22:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade grpc_server to version 1.0.6 or newer to ensure streaming requests are limited by the configured max_body_size.
  • If an upgrade is not possible, modify the server configuration to limit the maximum request size or patch the code to enforce max_body_size in Elixir.GRPC.Server.Adapters.Cowboy.Handler:info/3.
  • Deploy process monitoring or a supervisor to automatically restart the node if it crashes, and consider configuring the operating system to protect against large memory usage by the application.

Generated by OpenCVE AI on November 6, 2026 at 22:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 21:15:00 +0000

Type Values Removed Values Added
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.
Title Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_server
First Time appeared Elixir-grpc
Elixir-grpc grpc Server
Weaknesses CWE-770
CPEs cpe:2.3:a:elixir-grpc:grpc_server:*:*:*:*:*:*:*:*
Vendors & Products Elixir-grpc
Elixir-grpc grpc Server
References
Metrics cvssV4_0

{'score': 8.2, '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'}


Subscriptions

Elixir-grpc Grpc Server
cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-11-06T21:02:03.676Z

Reserved: 2026-08-19T10:30:01.929Z

Link: CVE-2026-71397

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T21:17:10.480

Modified: 2026-11-06T21:17:10.480

Link: CVE-2026-71397

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T22:30:12Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling