Skip to main content

elixir-grpc grpc_server CVE-2026-121809

| EUVDEUVD-2026-125542 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-13 EEF
8.2
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Recon
    Open HTTP/2 connection to gRPC server
  2. Delivery
    Send HEADERS for streaming RPC method
  3. Exploit
    Send 5-byte length prefix with END_STREAM
  4. Install
    Read loop spins on incomplete message
  5. C2
    One BEAM scheduler pinned at 100% CPU
  6. Execute
    Repeat connections exhaust all schedulers
  7. Impact
    Node-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 consumption 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 server must expose at least one client-streaming or bidirectional-streaming RPC method (per the advisory's Configurations section); unary-only gRPC servers are not affected, which is the single most important limiting factor. Given that precondition, exploitation needs no authentication (PR:N), no user interaction (UI:N), and no special client privileges - any network-reachable client can trigger it with one crafted HTTP/2 request containing a 5-byte gRPC length prefix sent with END_STREAM declaring a message longer than the bytes supplied. Two conditions keep the loop alive and must hold for sustained impact: the request omits a grpc-timeout header (no per-RPC deadline), and the adapter's idle timeout remains at its default of :infinity, so no I/O or deadline timeout ever breaks the inter-process read loop. Affected versions are grpc_server >= 1.0.0 and < 1.1.0, and grpc >= 0.3.1 and < 1.0.0; updating to grpc_server 1.1.0 or grpc 1.0.0 is the fix.

Impact

This is a genuine, actionable priority rather than a high-CVSS-but-low-real-risk issue, though it is a resource-exhaustion DoS with no confidentiality or integrity impact. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N) confirms remote, unauthenticated, no-interaction reach, and the VA:H reflects that a single 5-byte request pins one BEAM scheduler at 100% CPU indefinitely, with repeated connections exhausting all schedulers and denying service to every application on the node - an efficient amplification. The one tempering signal is AT:P (attack requirement present): the GHSA advisory states the server must expose at least one client-streaming or bidirectional-streaming RPC method, so unary-only deployments are not exploitable. KEV status is not listed in the input, so there is no confirmed active exploitation; EPSS is not provided, so widespread-exploitation probability cannot be quantified. The vuln.today decision label is this_week (not act_now/emergency), consistent with a serious but not actively-exploited DoS. The GHSA advisory includes a documented step-by-step reproduction (proof-of-concept), which lowers the barrier to exploitation even though no packaged working exploit is confirmed in the input.

Exploit ScenarioDerived

An unauthenticated attacker opens an HTTP/2 connection to a gRPC server that exposes a client-streaming or bidirectional-streaming method, sends HEADERS for that method with content-type application/grpc and no grpc-timeout, then sends one DATA frame with END_STREAM containing only a 5-byte length prefix (e.g. 00 00 00 00 64) that declares a message larger than the bytes actually sent. The read loop in GRPC.Server.Adapters.Cowboy.read_stream/1 keeps requesting more data that never arrives, pinning one BEAM scheduler at full CPU for as long as the connection stays open; opening enough such connections starves all schedulers and denies service to every app on the node. The advisory provides a concrete proof-of-concept reproduction, though no packaged working exploit is confirmed in the input; the low complexity (AC:L) and lack of authentication make this trivially repeatable.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Denial of service through CPU exhaustion in the Elixir gRPC stack: grpc_server 1.0.0 through 1.1.0 (exclusive) and the pre-split grpc package 0.3.1 through 1.0.0 (exclusive) allow an unauthenticated remote client to pin a BEAM scheduler at 100% indefinitely by sending a client-streaming or bidirectional-streaming request whose body ends inside an incomplete gRPC message. A single 5-byte length prefix delivered with END_STREAM is enough per connection, and repeated connections can exhaust every scheduler and deny service to all applications on the node; no CISA KEV listing or confirmed in-the-wild exploitation is reported, though the vendor advisory publishes a step-by-step reproduction recipe. Vendor patches exist (grpc_server 1.1.0, grpc 1.0.0) and priority is rated 'this_week', with CVSS 8.2/8.2-style availability-only impact and the important limiter that unary-only gRPC servers cannot be triggered.

RemediationAI

Vendor-released patch: upgrade grpc_server to 1.1.0 (from any 1.0.x) or grpc to 1.0.0 (from 0.3.1 or later pre-1.0 releases); the fix lands in commit 38955f1392cbf08eef231a347348445410455c85, with introducing commits 0332faae5f5e132314794dbfdae5edecbccea292 and 6d8a09ad919e208fb600538ac8b19bd733a04310 available for diff review, and the full advisory is at https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh. Note that the fixing release is also the point at which the library was split into separate grpc_server, grpc_client and grpc_core packages, so dependency manifests pinning the monolithic grpc package must be migrated rather than simply bumped. Where upgrading cannot be done immediately, the advisory's mechanism description points to two concrete breakers of the loop and one scope reduction: enforce a grpc-timeout deadline on streaming RPCs at the client or an interceptor/edge proxy so the per-RPC deadline terminates the read loop (trade-off: legitimate long-lived streams must be given adequate deadlines or they will be cut off), configure the Cowboy adapter's idle timeout to a finite value instead of the default :infinity so stuck connections are reaped (trade-off: idle but healthy long-lived streams and slow clients will be disconnected), and, most decisively, avoid exposing client-streaming or bidirectional-streaming RPC methods to untrusted networks since unary-only servers are not affected (trade-off: loss of streaming functionality or the need for network-level access control in front of those methods). Detection during the exposure window can rely on sustained per-connection scheduler saturation with no response emitted, since the reproduction keeps one BEAM scheduler at 100% CPU until the connection closes.

Affected VersionsENISA

grpc_server 1.0.0 <1.1.0
gRPC 0.3.1 <1.0.0
gRPC 6d8a09ad919e208fb600538ac8b19bd733a04310 <0332faae5f5e132314794dbfdae5edecbccea292
grpc_server 0332faae5f5e132314794dbfdae5edecbccea292 <38955f1392cbf08eef231a347348445410455c85

Affected Packages

euvd grpc fix: 1.0.0
euvd grpc_server fix: 1.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

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

Technical ContextAI · show details

The flaw is a CWE-400 uncontrolled resource consumption issue with the loop semantics of CWE-835 (the GHSA lists both) inside the Cowboy transport adapter of elixir-grpc, at GRPC.Server.Adapters.Cowboy.read_stream/1 (grpc_server/lib/grpc/server/adapters/cowboy.ex, plus the equivalent adapter in grpc before the package split into grpc_core, grpc_server and grpc_client). The adapter buffers incoming chunks and calls GRPC.Message.get_message/1; when the buffer does not contain a complete message, get_message/1 returns false and read_stream/1 sets need_more and requests another chunk via Handler.read_body/1. Once the HTTP/2 request body has ended, async_read_body/2 (and cowboy_req:read_body/2 in older releases) returns an empty chunk immediately, so the buffer never changes and the terminating exit clause for an empty finished buffer is never reached. Because each iteration is a message round trip between two local Erlang processes rather than a socket wait, no socket I/O timeout fires; without a grpc-timeout header there is no RPC deadline, and the adapter's idle timeout defaults to :infinity, so the loop runs until the client closes the connection. The affected package ranges are erlang/grpc >= 0.3.1 and < 1.0.0 and erlang/grpc_server >= 1.0.0 and < 1.1.0, matching the supplied CPE entries for elixir-grpc:grpc and elixir-grpc:grpc_server. Exploitation is gated by deployment shape: the server must expose at least one client-streaming or bidirectional-streaming RPC method, and the assessed vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) confirms no authentication, no user interaction and no privileges are required once that precondition holds; nothing indicates any confidentiality or integrity impact.

Know when Elixir 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.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

Remote, unauthenticated, no-interaction trigger (AV:N/AC:L/PR:N/UI:N); only availability is affected (A:H, C/I:N), and impact stays within the BEAM node so S:U; the streaming-method prerequisite is a deployment condition, not attacker-controlled complexity.

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 (EEF).

CVSS VectorVendor: EEF

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

DescriptionCVE.org

Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in elixir-grpc grpc_server and grpc allows unauthenticated attackers to occupy a BEAM scheduler indefinitely via a client-streaming or bidirectional-streaming request whose body ends inside a gRPC message.

GRPC.Server.Adapters.Cowboy.read_stream/1 (grpc_server/lib/grpc/server/adapters/cowboy.ex, and the Cowboy adapter in grpc before the package split) asks for more data whenever the buffer does not hold a complete message. Once the request body has ended, every further read returns an empty chunk, so the buffer never changes and the function retries without end. A single 5-byte length prefix sent with END_STREAM keeps one scheduler busy for as long as the connection stays open, and repeated requests exhaust all schedulers.

This issue affects grpc_server: from 1.0.0 before 1.1.0; grpc: from 0.3.1 before 1.0.0.

Technical POC Analysis

Bug class: infinite loop / unreachable exit condition (CWE-835 as titled, filed as CWE-400 Uncontrolled Resource Consumption in the advisory; the advisory lists both).

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

The Elixir gRPC libraries grpc_server (versions before 1.1.0) and grpc (versions before 1.0.0) contain a high-severity flaw that allows any unauthenticated remote client to exhaust server CPU resources, potentially crippling all applications running on affected nodes. Organizations using these libraries for client-streaming or bidirectional-streaming gRPC services are at risk of service outages that could disrupt business operations and customer-facing services. Leadership should prioritize patching this week to prevent denial-of-service incidents.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Low
de facto gRPC library but only within the niche Elixir/BEAM ecosystem
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 No
EPSS 0.7%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: +1
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.

More in Elixir

View all
CVE-2026-54451 HIGH POC
8.2 Jul 15

Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac

CVE-2026-91187 CRITICAL
9.3 Sep 24

Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate

CVE-2026-76949 CRITICAL
9.1 Sep 17

Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-

CVE-2026-88952 CRITICAL
9.1 Sep 17

Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth

CVE-2026-91039 CRITICAL
9.1 Sep 17

Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov

CVE-2026-77866 CRITICAL
9.0 Sep 15

Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti

CVE-2026-108529 HIGH
8.7 Oct 26

Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin

CVE-2026-110499 HIGH
8.7 Oct 26

Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent

CVE-2026-111101 HIGH
8.7 Oct 26

Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets

CVE-2026-113436 HIGH
8.7 Oct 26

Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se

CVE-2026-104635 HIGH
8.2 Oct 09

Memory-exhaustion denial of service in the elixir-protobuf library (protobuf) from 0.8.0 onward allows an unauthenticate

CVE-2026-91043 HIGH
8.2 Sep 28

Memory exhaustion denial-of-service in Elixir Mint affects versions 1.1.0 through 1.10.x and allows a malicious or compr

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