{"id":"CVE-2026-48854","state":"PUBLISHED","title":"Unbounded request body accumulation causes memory exhaustion in elixir-grpc/grpc","description":"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.\n\n'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.\n\nThis issue affects grpc: from 0.3.0-alpha.2 before 1.0.0.","publishedAt":"2026-06-15T21:55:23.629Z","updatedAt":"2026-09-24T21:09:30.485Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"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","source":"EEF"},"assigner":"EEF","products":["elixir-grpc grpc"],"affected":[{"vendor":"elixir-grpc","product":"grpc","packageName":"grpc","packageURL":"pkg:hex/grpc","defaultStatus":"unaffected","versions":[{"version":"0.3.0-alpha.2","status":"affected","lessThan":"1.0.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Server.Adapters.Cowboy.Handler'"],"programFiles":["lib/grpc/server/adapters/cowboy/handler.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3"}],"repo":"https://github.com/elixir-grpc/grpc"},{"vendor":"elixir-grpc","product":"grpc","packageName":"elixir-grpc/grpc","packageURL":"pkg:github/elixir-grpc/grpc","defaultStatus":"unaffected","versions":[{"version":"d1abe70a6cad6dac4a3f8235d883d7c896989560","status":"affected","lessThan":"49e18c3ec6bb9afe2f712caad3dbab5c56a68a00","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Server.Adapters.Cowboy.Handler'"],"programFiles":["lib/grpc/server/adapters/cowboy/handler.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3"}],"repo":"https://github.com/elixir-grpc/grpc"}],"references":["https://github.com/elixir-grpc/grpc/security/advisories/GHSA-q8gf-9rvj-gmgj","https://cna.erlef.org/cves/CVE-2026-48854.html","https://osv.dev/vulnerability/EEF-CVE-2026-48854","https://github.com/elixir-grpc/grpc/commit/d1abe70a6cad6dac4a3f8235d883d7c896989560","https://github.com/elixir-grpc/grpc/commit/49e18c3ec6bb9afe2f712caad3dbab5c56a68a00"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48854.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48854","state":"PUBLISHED","datePublished":"2026-06-15T21:55:23.629Z","dateUpdated":"2026-09-24T21:09:30.485Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-05-25T20:44:10.697Z"},"containers":{"cna":{"title":"Unbounded request body accumulation causes memory exhaustion in elixir-grpc/grpc","descriptions":[{"lang":"en","value":"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.\n\n'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.\n\nThis issue affects grpc: from 0.3.0-alpha.2 before 1.0.0."}],"affected":[{"vendor":"elixir-grpc","product":"grpc","packageName":"grpc","packageURL":"pkg:hex/grpc","defaultStatus":"unaffected","versions":[{"version":"0.3.0-alpha.2","status":"affected","lessThan":"1.0.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Server.Adapters.Cowboy.Handler'"],"programFiles":["lib/grpc/server/adapters/cowboy/handler.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3"}],"repo":"https://github.com/elixir-grpc/grpc"},{"vendor":"elixir-grpc","product":"grpc","packageName":"elixir-grpc/grpc","packageURL":"pkg:github/elixir-grpc/grpc","defaultStatus":"unaffected","versions":[{"version":"d1abe70a6cad6dac4a3f8235d883d7c896989560","status":"affected","lessThan":"49e18c3ec6bb9afe2f712caad3dbab5c56a68a00","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Server.Adapters.Cowboy.Handler'"],"programFiles":["lib/grpc/server/adapters/cowboy/handler.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3"}],"repo":"https://github.com/elixir-grpc/grpc"}],"references":[{"url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-q8gf-9rvj-gmgj","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48854.html","name":"EEF CNA record for CVE-2026-48854","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48854","name":"OSV record EEF-CVE-2026-48854","tags":["related"]},{"url":"https://github.com/elixir-grpc/grpc/commit/d1abe70a6cad6dac4a3f8235d883d7c896989560","name":"Introducing commit d1abe70 in elixir-grpc/grpc","tags":["related"]},{"url":"https://github.com/elixir-grpc/grpc/commit/49e18c3ec6bb9afe2f712caad3dbab5c56a68a00","name":"Fix commit 49e18c3 in elixir-grpc/grpc","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-24T21:09:30.485Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.0","versionStartIncluding":"0.3.0-alpha.2","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Paulo Valente"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"}],"datePublic":"2026-06-15T21:55:23.000Z","impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]},{"capecId":"CAPEC-231","descriptions":[{"lang":"en","value":"CAPEC-231 Oversized Serialized Data Payloads"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-q8gf-9rvj-gmgj","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-16T14:47:02.881535Z","id":"CVE-2026-48854","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-16T14:47:28.479Z"}}]}}}