Summary
CVE-2026-71397 is an allocation of resources without limits or throttling vulnerability (CWE-770) in the grpc_server package of elixir-grpc. Unauthenticated remote attackers can exhaust memory and crash the node by sending an oversized client-streaming or bidirectional-streaming request body. The CNA rates it High severity (CVSS 8.2).
Technical details
- Root cause: the streaming read path of the Cowboy adapter handler (
GRPC.Server.Adapters.Cowboy.Handler.info/3) never checks the configuredmax_body_size. Only the unary read path enforces that limit. - Trigger conditions: the server exposes at least one client-streaming or bidirectional-streaming RPC method.
- Mechanism: the server keeps buffering incoming HTTP/2 DATA frames until a complete length-prefixed message arrives. An attacker can declare an oversized message and keep sending data, so the buffer grows without bound.
- Attack vector: network. No authentication or user interaction is required.
- Impact: memory exhaustion that crashes the node (availability loss). The advisory reports no confidentiality or integrity impact.
Affected software
- elixir-grpc
grpc_serverversions 1.0.0 up to, but not including, 1.0.6 (that is, 1.0.0 through 1.0.5). - Only servers that expose client-streaming or bidirectional-streaming RPCs are exposed.
Severity
- CVSS base score: 8.2 (High).
- The CNA published the vector as CVSS v4.0, not v3.1:
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. I found no v3.1 vector in the sources.
Mitigation and recommended actions
- Immediate: upgrade
grpc_serverto version 1.0.6 or later. - If you cannot patch: I found no documented workarounds. Reducing exposure of streaming RPC endpoints to untrusted networks is a general precaution, not a vendor-documented fix.

