Skip to main content

elixir-grpc CVE-2026-48854

| EUVDEUVD-2026-37012 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-06-15 EEF GHSA-q8gf-9rvj-gmgj
8.7
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Recon
    Identify exposed elixir-grpc endpoint
  2. Delivery
    Open HTTP/2 connection to gRPC port
  3. Exploit
    Send unary request without grpc-timeout header
  4. Install
    Slow-trickle or oversize request body
  5. C2
    Handler accumulates chunks into unbounded binary
  6. Execute
    BEAM VM exhausts memory and crashes
  7. Impact
    Service-wide denial of service

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

Requires only network reachability to an elixir-grpc server (versions 0.3.1 through 0.x) running the Cowboy adapter, which is the default; no authentication, no user interaction, and no non-default configuration is needed. The attacker must send a unary gRPC request and either (a) omit the grpc-timeout header to trigger the :infinity per-chunk read timeout for slow-trickle exhaustion, or (b) simply stream a large request body to exploit the missing size cap. Limiting factors: the target must expose the gRPC port to the attacker's network, and a fronting reverse proxy that enforces body-size and idle-timeout limits would block the attack before it reaches the BEAM handler.

Impact

The signals align coherently on a real but bounded risk. CVSS 4.0 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N, VA:H only) accurately reflects an unauthenticated, low-complexity, network-reachable availability-only flaw - no confidentiality or integrity loss. EPSS and KEV data were not provided in the input, and no public PoC is listed in references, so there is no evidence of active exploitation; however, the fix commit shows the trigger is mechanically simple (a single slow or large unary request) and reproducible test code now ships in handler_test.exs, so weaponization effort is minimal. The CVSS vector and description agree: network-exploitable, no auth, single connection sufficient. Real-world priority should be high for anyone exposing an elixir-grpc server to untrusted clients or the internet, and medium for internal-only deployments where availability of a single BEAM node matters.

Exploit ScenarioDerived

An attacker opens a single HTTP/2 connection to any exposed elixir-grpc endpoint, issues a unary RPC without a grpc-timeout header, and either streams a very large request body or trickles bytes a few at a time over many minutes. The handler appends every chunk to one growing binary while the read timeout sits at :infinity, so RAM usage climbs until the BEAM VM is OOM-killed and the entire Erlang node - along with every other service it hosts - goes down.

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 – Jun 15, 2026

Unauthenticated denial of service in the elixir-grpc library (versions 0.3.1 up to but not including 1.0.0) allows a single remote attacker to crash an Erlang/BEAM node by streaming an oversized or slow-trickle unary gRPC request body. The Cowboy handler's read_full_body/3 accumulates every chunk into one unbounded binary, and when no grpc-timeout header is sent the per-chunk read timeout collapses to :infinity, so memory grows without bound until the VM dies. No public exploit identified at time of analysis, but the fix is upstream in commit 49e18c3 and the issue is trivial to trigger.

RemediationAI

Upstream fix available (commit 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00); upgrade elixir-grpc/grpc to 1.0.0 or later, which introduces a default 4 MB max_body_size matching gRPC-Go and stops overriding Cowboy's 15-second per-chunk read timeout with :infinity. Operators can override the cap via the new :max_body_size server option (bytes) if their workload legitimately requires larger unary payloads. If immediate upgrade is not possible, compensating controls include placing a reverse proxy (nginx, Envoy, HAProxy) in front of the gRPC server with a client_max_body_size / max_request_bytes limit and an aggressive client_body_timeout - trade-off is that proxies that don't natively understand HTTP/2 trailers may break some gRPC features; additionally, restrict the gRPC port to trusted client networks and add OS-level memory limits (systemd MemoryMax, cgroups) so an OOM kills only the BEAM node rather than starving the host. References: https://github.com/elixir-grpc/grpc/security/advisories/GHSA-q8gf-9rvj-gmgj and https://github.com/elixir-grpc/grpc/commit/49e18c3ec6bb9afe2f712caad3dbab5c56a68a00.

Affected VersionsENISA

gRPC 0.3.1 <1.0.0
gRPC d1abe70a6cad6dac4a3f8235d883d7c896989560 <49e18c3ec6bb9afe2f712caad3dbab5c56a68a00

Affected Packages

euvd grpc fix: 1.0.0

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

The elixir-grpc package implements a gRPC server for the Elixir/Erlang ecosystem using Cowboy as the HTTP/2 transport. The vulnerable code path is GRPC.Server.Adapters.Cowboy.Handler.read_full_body/3 in lib/grpc/server/adapters/cowboy/handler.ex, which recursively concatenates inbound HTTP/2 DATA frames into a single Erlang binary with no size ceiling. A second defect in the same module overrides Cowboy's default 15-second per-chunk read timeout with :infinity whenever the client omits the grpc-timeout header, defeating the only natural throttle on a slow sender. This is a textbook CWE-770 (Allocation of Resources Without Limits or Throttling): an attacker controls both the rate and total size of input, and the server allocates unbounded memory in response. Because BEAM nodes typically host many co-located processes, OOM of the VM is a process-wide outage rather than a single-request failure.

Know when Grpc gets its next vulnerability

  • 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 (EEF) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Network-reachable gRPC port (AV:N), single straightforward request (AC:L), no auth or interaction (PR:N/UI:N), and only availability is impacted (A:H, C:N, I:N).

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:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
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

DescriptionCVE.org

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.1 before 1.0.0.

Executive ViewAI

Why It Matters

The elixir-grpc library (versions 0.3.1-0.9.x) contains an unauthenticated denial-of-service vulnerability allowing external attackers to crash production application servers. This creates immediate operational risk for any organization using affected versions, with no authentication barrier to exploitation. Vendor-released patches are available and deployment should be prioritized.

Business Impact: High
Compensating Controls

Vendor-released patch: upgrade to elixir-grpc 1.0.0 or later. If patching is delayed: restrict gRPC traffic to trusted networks and implement request size limits at network ingress.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA MSRC CIRCL GitHub VulDB

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 Yes
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
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.

More in Grpc

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2017-8359 CRITICAL POC
9.8 Apr 30

Google gRPC before 2017-03-29 has an out-of-bounds write caused by a heap-based use-after-free related to the grpc_call_

CVE-2026-48853 CRITICAL POC
9.2 Jun 15

Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remo

CVE-2026-84304 HIGH POC
8.7 Sep 01

Memory exhaustion in gRPC-Go before version 1.83.1 allows an unauthenticated remote attacker to crash any service built

CVE-2026-53430 HIGH POC
8.7 Jun 15

Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to cra

CVE-2026-48599 HIGH POC
7.6 Jun 15

Authorization bypass in elixir-grpc (grpc library for Elixir) versions 0.8.0 through 0.x allows authenticated attackers

CVE-2026-101914 MEDIUM POC
6.5 Sep 28

Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one

CVE-2024-7246 MEDIUM POC
6.3 Aug 06

It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the ba

CVE-2017-7860 CRITICAL
9.8 Apr 14

Google gRPC before 2017-02-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the parse_uni

CVE-2017-7861 CRITICAL
9.8 Apr 14

Google gRPC before 2017-02-22 has an out-of-bounds write related to the gpr_free function in core/lib/support/alloc.c. R

CVE-2017-9431 CRITICAL
9.8 Jun 05

Google gRPC before 2017-04-05 has an out-of-bounds write caused by a heap-based buffer overflow related to core/lib/iomg

CVE-2020-7768 CRITICAL
9.8 Nov 11

The package grpc before 1.24.4; the package @grpc/grpc-js before 1.1.8 are vulnerable to Prototype Pollution via loadPac

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