{"id":"CVE-2026-121809","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-11-13T17:17:19.310","lastModified":"2026-11-23T15:08:56.100","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","affectedData":[{"vendor":"elixir-grpc","product":"grpc","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"grpc","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Server.Adapters.Cowboy'"],"programFiles":["lib/grpc/server/adapters/cowboy.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Server.Adapters.Cowboy':reading_stream/1"},{"name":"'Elixir.GRPC.Server.Adapters.Cowboy':read_stream/1"}],"repo":"https://github.com/elixir-grpc/grpc","packageURL":"pkg:hex/grpc","versions":[{"version":"0.3.1","lessThan":"1.0.0","versionType":"semver","status":"affected"}]},{"vendor":"elixir-grpc","product":"grpc","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"elixir-grpc/grpc","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Server.Adapters.Cowboy'"],"programFiles":["lib/grpc/server/adapters/cowboy.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Server.Adapters.Cowboy':reading_stream/1"},{"name":"'Elixir.GRPC.Server.Adapters.Cowboy':read_stream/1"}],"repo":"https://github.com/elixir-grpc/grpc","packageURL":"pkg:github/elixir-grpc/grpc","versions":[{"version":"6d8a09ad919e208fb600538ac8b19bd733a04310","lessThan":"0332faae5f5e132314794dbfdae5edecbccea292","versionType":"git","status":"affected"}]},{"vendor":"elixir-grpc","product":"grpc_server","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"grpc_server","cpes":["cpe:2.3:a:elixir-grpc:grpc_server:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Server.Adapters.Cowboy'"],"programFiles":["lib/grpc/server/adapters/cowboy.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Server.Adapters.Cowboy':reading_stream/1"},{"name":"'Elixir.GRPC.Server.Adapters.Cowboy':read_stream/1"}],"repo":"https://github.com/elixir-grpc/grpc","packageURL":"pkg:hex/grpc_server","versions":[{"version":"1.0.0","lessThan":"1.1.0","versionType":"semver","status":"affected"}]},{"vendor":"elixir-grpc","product":"grpc_server","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"elixir-grpc/grpc","cpes":["cpe:2.3:a:elixir-grpc:grpc_server:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Server.Adapters.Cowboy'"],"programFiles":["grpc_server/lib/grpc/server/adapters/cowboy.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Server.Adapters.Cowboy':reading_stream/1"},{"name":"'Elixir.GRPC.Server.Adapters.Cowboy':read_stream/1"}],"repo":"https://github.com/elixir-grpc/grpc","packageURL":"pkg:github/elixir-grpc/grpc","versions":[{"version":"0332faae5f5e132314794dbfdae5edecbccea292","lessThan":"38955f1392cbf08eef231a347348445410455c85","versionType":"git","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-13T17:55:12.226355Z","id":"CVE-2026-121809","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","description":[{"lang":"en","value":"CWE-400"},{"lang":"en","value":"CWE-835"}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-121809.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-121809","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"}]}