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.
{
"$schema": "https://cna.erlef.org/schemas/osv/record-0.1.0.json",
"capec_ids": [
"CAPEC-130",
"CAPEC-231"
],
"cpe_ids": [
"cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-770"
]
}{
"$schema": "https://cna.erlef.org/schemas/osv/affected-0.1.0.json",
"modules": [
"'Elixir.GRPC.Server.Adapters.Cowboy.Handler'"
],
"program_files": [
"lib/grpc/server/adapters/cowboy/handler.ex"
],
"program_routines": [
"'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3"
]
}
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
[
"'Elixir.GRPC.Server.Adapters.Cowboy.Handler'"
]
[
"lib/grpc/server/adapters/cowboy/handler.ex"
]
[
"'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3"
]
"https://cna.erlef.org/osv/EEF-CVE-2026-48854.json"
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
[
"'Elixir.GRPC.Server.Adapters.Cowboy.Handler'"
]
[
"lib/grpc/server/adapters/cowboy/handler.ex"
]
[
"'Elixir.GRPC.Server.Adapters.Cowboy.Handler':read_full_body/3"
]
"https://cna.erlef.org/osv/EEF-CVE-2026-48854.json"