Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify exposed elixir-grpc endpoint
-
DeliveryOpen HTTP/2 connection to gRPC port
-
ExploitSend unary request without grpc-timeout header
-
InstallSlow-trickle or oversize request body
-
C2Handler accumulates chunks into unbounded binary
-
ExecuteBEAM VM exhausts memory and crashes
-
ImpactService-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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
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_
Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remo
Memory exhaustion in gRPC-Go before version 1.83.1 allows an unauthenticated remote attacker to crash any service built
Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to cra
Authorization bypass in elixir-grpc (grpc library for Elixir) versions 0.8.0 through 0.x allows authenticated attackers
Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one
It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the ba
Google gRPC before 2017-02-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the parse_uni
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
Google gRPC before 2017-04-05 has an out-of-bounds write caused by a heap-based buffer overflow related to core/lib/iomg
The package grpc before 1.24.4; the package @grpc/grpc-js before 1.1.8 are vulnerable to Prototype Pollution via loadPac
EUVD-2026-37012
GHSA-q8gf-9rvj-gmgj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB