{"id":"CVE-2026-121809","published":"2026-11-13T16:18:37Z","modified":"2026-11-19T07:00:39Z","title":"CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server","vendor":"elixir-grpc","product":"grpc","tier":"tail","description":{"text":"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.\n\nGRPC.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.\n\nThis issue affects grpc: from 0.3.1 before 1.0.0; grpc_server: from 1.0.0 before 1.1.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00655,"percentile":0.52306,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-121809.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-121809","tags":["related"]},{"url":"https://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310","tags":["related"]},{"url":"https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292","tags":["patch"]},{"url":"https://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85","tags":["patch"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.46},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"elixir-grpc","affectedVersions":[{"vendor":"elixir-grpc","product":"grpc","versions":[">= 0.3.1, < 1.0.0"]},{"vendor":"elixir-grpc","product":"grpc","versions":[">= 6d8a09ad919e208fb600538ac8b19bd733a04310, < 0332faae5f5e132314794dbfdae5edecbccea292"]},{"vendor":"elixir-grpc","product":"grpc_server","versions":[">= 1.0.0, < 1.1.0"]},{"vendor":"elixir-grpc","product":"grpc_server","versions":[">= 0332faae5f5e132314794dbfdae5edecbccea292, < 38955f1392cbf08eef231a347348445410455c85"]}],"capec":[{"id":"CAPEC-130","name":"An unauthenticated client can keep one scheduler busy per open connection with a 5-byte request, and enough connections deny service to every application on the node."}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T17:55:12.226355Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-125542","exploited":false,"provenance":"source"}}