Unbounded request body accumulation causes memory exhaustion in elixir-grpc/grpc
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. '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. This issue affects grpc: from 0.3.0-alpha.2 before 1.0.0.
CVE-2026-48854
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-48854
grpc
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
grpc
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"cpes": [
"cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-grpc/grpc",
"vendor": "elixir-grpc",
"modules": [
"'Elixir.GRPC.Server.Adapters.Cowboy.Handler'"
],
"product": "grpc",
"versions": [
{
"status": "affected",
"version": "0.3.0-alpha.2",
"lessThan": "1.0.0",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/grpc",
"packageName": "grpc",
"programFiles": [
"lib/grpc/server/adapters/cowboy/handler.ex"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3"
}
]
},
{
"cpes": [
"cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-grpc/grpc",
"vendor": "elixir-grpc",
"modules": [
"'Elixir.GRPC.Server.Adapters.Cowboy.Handler'"
],
"product": "grpc",
"versions": [
{
"status": "affected",
"version": "d1abe70a6cad6dac4a3f8235d883d7c896989560",
"lessThan": "49e18c3ec6bb9afe2f712caad3dbab5c56a68a00",
"versionType": "git"
}
],
"packageURL": "pkg:github/elixir-grpc/grpc",
"packageName": "elixir-grpc/grpc",
"programFiles": [
"lib/grpc/server/adapters/cowboy/handler.ex"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3"
}
]
}
]- Related CVEs
- CVE-2026-48854
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #1930 · Revision 1
- Added to Heist Feed
- Publisher date