CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server

Summary

CVECVE-2026-121809
StatePUBLISHED
AssignerEEF
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-13 17:17:19 UTC
Updated2026-11-13 20:18:11 UTC
DescriptionLoop 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.

Risk And Classification

Primary CVSS: v4.0 8.2 HIGH from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS: 0.006550000 probability, percentile 0.519540000 (date 2026-11-15)

Problem Types: CWE-400 | CWE-835 | CWE-400 CWE-400 Uncontrolled Resource Consumption | CWE-835 CWE-835 Loop with Unreachable Exit Condition


VersionSourceTypeScoreSeverityVector
4.06b3ad84c-e1a6-4bf7-a703-f496b71e49dbSecondary8.2HIGHCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS8.2HIGHCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Confidentiality
None
Integrity
None
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Elixir-grpc Grpc Server affected 1.0.0 1.1.0 semver Not specified
CNA Elixir-grpc Grpc Server affected 0332faae5f5e132314794dbfdae5edecbccea292 38955f1392cbf08eef231a347348445410455c85 git Not specified
CNA Elixir-grpc Grpc affected 0.3.1 1.0.0 semver Not specified
CNA Elixir-grpc Grpc affected 6d8a09ad919e208fb600538ac8b19bd733a04310 0332faae5f5e132314794dbfdae5edecbccea292 git Not specified

References

ReferenceSourceLinkTags
github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85 6b3ad84c-e1a6-4bf7-a703-f496b71e49db github.com
osv.dev/vulnerability/EEF-CVE-2026-121809 6b3ad84c-e1a6-4bf7-a703-f496b71e49db osv.dev
github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292 6b3ad84c-e1a6-4bf7-a703-f496b71e49db github.com
github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh 6b3ad84c-e1a6-4bf7-a703-f496b71e49db github.com
github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310 6b3ad84c-e1a6-4bf7-a703-f496b71e49db github.com
cna.erlef.org/cves/CVE-2026-121809.html 6b3ad84c-e1a6-4bf7-a703-f496b71e49db cna.erlef.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Adam Jordan (en)

CNA: Adam Jordan (en)

CNA: Marko Vejnovic (en)

CNA: Paulo Valente (en)

CNA: Peter Ullrich (en)

CNA: Jonatan Männchen / EEF (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report