Skip to main content

elixir-grpc grpc_server EUVDEUVD-2026-118499

| CVE-2026-71397 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-06 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
8.2
CVSS 4.0 · Vendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open HTTP/2 connection to streaming RPC
  2. Delivery
    Declare oversized length-prefixed message
  3. Exploit
    Stream many small DATA frames unbounded
  4. Execution
    Server buffers all chunks in memory
  5. Impact
    BEAM memory exhausted, node crashes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target service must expose at least one request-streaming or bidirectional-streaming (client-streaming or bidi) gRPC method served via the Cowboy adapter (GRPC.Server.Adapters.Cowboy.Handler); unary-only services are not reachable because the unary read path already enforces max_body_size. No authentication is required (PR:N) and no user interaction is needed. The limiting factor captured by AT:P is this streaming-method precondition - the attacker needs a streaming endpoint to abuse. Exploitation works against default configurations of affected versions (1.0.0 through 1.0.5) because the streaming path ignores the configured cap entirely regardless of its value.

Impact

This is a genuine but bounded availability risk. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) describes an unauthenticated, network-reachable, low-complexity attack with VA:H (high availability impact) and no confidentiality or integrity impact - consistent with a pure CWE-770 memory-exhaustion DoS. The one qualifier is AT:P (attack requirement present): the target must expose at least one request-streaming or bidirectional-streaming RPC method; services exposing only unary (single-request/single-response) calls are not reachable this way, per the advisory. Decision label is 'this_week' rather than act_now/emergency, and there is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of active exploitation - this is a prioritize-and-patch item, not an incident. A public PoC reference (step-by-step instructions in the GHSA advisory) exists but is not verified as working exploit code. The 8.2 HIGH score is driven by the unauthenticated network vector plus crash impact; real-world urgency should be scaled by whether your deployment actually exposes a streaming method and by the product's limited footprint.

Exploit ScenarioDerived

An unauthenticated remote client opens an HTTP/2 connection to a grpc_server-based service that exposes any client-streaming or bidirectional-streaming RPC method, declares a very large length-prefixed message, and sends the body across many small DATA frames without ever setting END_STREAM. The streaming read path buffers every chunk without checking max_body_size, so memory grows without bound until the BEAM exhausts memory and the node crashes. A public PoC reference exists in the GHSA advisory describing these exact steps; it is not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Memory exhaustion in elixir-grpc grpc_server 1.0.0 through 1.0.5 lets unauthenticated remote attackers crash the BEAM node by sending an oversized request body to any client-streaming or bidirectional-streaming RPC served through the Cowboy adapter. The streaming read path ignores the configured max_body_size while the unary path enforces it, so only deployments exposing at least one streaming method are reachable and the risk is a genuine but bounded availability impact. The vuln.today decision label is 'this_week'; the GHSA includes a public PoC procedure, though it is not confirmed as working exploit code in the supplied data, and no CISA KEV or EPSS information was provided.

RemediationAI

Vendor-released patch: upgrade grpc_server to 1.0.6 or later, which is the fixed version listed by the GHSA advisory; the patch commit is https://github.com/elixir-grpc/grpc/commit/0b663ca53dbf0f36f7f67ff1d0026f4482a18915. Verify the dependency and lockfile resolve erlang/grpc_server to at least 1.0.6 and redeploy. If upgrading cannot be done immediately, the evidence-backed exposure reduction is to remove or disable client-streaming and bidirectional-streaming RPC methods on affected Cowboy-adapter servers, or keep those methods on a patched instance, because unary-only services are not reachable; the trade-off is loss of streaming functionality. No separate workaround is described in the provided advisory. See https://github.com/elixir-grpc/grpc/security/advisories/GHSA-vx6q-cr5q-945g and https://cna.erlef.org/cves/CVE-2026-71397.html.

Affected VersionsENISA

grpc_server 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00 <0b663ca53dbf0f36f7f67ff1d0026f4482a18915
grpc_server 1.0.0 <1.0.6

Affected Packages

euvd grpc_server fix: 1.0.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

grpc_server is the Elixir gRPC server implementation that can run behind Cowboy/HTTP2. In affected versions, GRPC.Server.Adapters.Cowboy.Handler enforces max_body_size only on the unary read path; GRPC.Server.Adapters.Cowboy.reading_stream/1 appends every received HTTP/2 DATA frame chunk to its buffer until a complete length-prefixed gRPC message arrives, without tracking a running total against the configured cap. A client can declare a very large message and deliver it across many small DATA frames, causing the BEAM process to accumulate the entire body in memory and potentially exhaust the node. This is CWE-770 (Allocation of Resources Without Limits or Throttling), with availability-only impact in the assessed CVSS 3.1 vector (C:N/I:N/A:H). The patch adds body_bytes_read accounting across streaming reads and returns gRPC RESOURCE_EXHAUSTED (status 8) when the cumulative body size exceeds max_body_size. The advisory identifies the package as erlang/grpc_server; no CPE strings were supplied.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) PRIMARY 8.2 HIGH
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
vuln.today AI 7.5 HIGH

Unauthenticated network attack with low complexity and availability-only impact (memory exhaustion/crash); no confidentiality or integrity effect, scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).

CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 06, 2026 - 22:03 EUVD
CVE Published
Nov 06, 2026 - 21:17 cve.org
HIGH 8.2

DescriptionCVE.org

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.

Technical POC Analysis

CWE-770: Allocation of Resources Without Limits or Throttling.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-71397 is a high-severity memory exhaustion flaw in the elixir-grpc library (versions 1.0.0 through 1.0.5) that allows an unauthenticated attacker to crash any Elixir service exposing client-streaming or bidirectional-streaming RPCs. Successful exploitation results in complete denial of service for the affected BEAM node, directly impacting availability of customer-facing or internal APIs and any dependent business processes. Leadership should care because any internet-facing or partner-accessible gRPC service built on this library is at risk of repeated outages with minimal attacker effort, and no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict network exposure of streaming RPC endpoints with firewalls or API gateways; enforce strict request body size limits at the reverse proxy or load balancer; disable client-streaming and bidirectional-streaming methods if not business-critical; implement memory limits and auto-restart for BEAM nodes; monitor for oversized requests and crash patterns.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Low
niche Elixir/Erlang gRPC server library, limited enterprise footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy