Hex
CVE-2026-71397
Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_server
- Severity
- High 8.2
- Published
- 6 Nov 2026
- Last changed
- 19 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.0.6
- Exploit chance
- 0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
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- Sources
- CVE Program
Description
Allocation of Resources Without Limits or Throttling vulnerability in elixir-grpc grpc_server allows unauthenticated attackers to exhaust memory and crash the node via an oversized client-streaming or bidirectional-streaming request body.
The streaming read clause of 'Elixir.GRPC.Server.Adapters.Cowboy.Handler':info/3 (grpc_server/lib/grpc/server/adapters/cowboy/handler.ex) never checks the configured max_body_size. Only the unary read path enforces that cap. 'Elixir.GRPC.Server.Adapters.Cowboy':reading_stream/1 (grpc_server/lib/grpc/server/adapters/cowboy.ex) appends every received chunk to its buffer until a complete length-prefixed message arrives. A client can declare a very large message and send it across many small HTTP/2 DATA frames, and the server buffers all of it.
This issue affects grpc_server: from 1.0.0 before 1.0.6.
Affected software
| Software | Affected versions |
|---|---|
grpc_serverHex · osv:Hex:grpc_server |
|
About grpc_server
Vulnerabilities in grpc_server
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 4
- Known exploited
- 0
- CVE-2026-124279Streaming request body limit enforced only after an 8 MB read in elixir-grpc grpc_serverHigh 8.2 13 Nov 2026
- CVE-2026-121809CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_serverHigh 8.2 13 Nov 2026
- CVE-2026-124278Path bindings ignored for gRPC Content-Types on transcoded routes in elixir-grpc grpc_serverHigh 7.6 13 Nov 2026
- CVE-2026-123635Refused calls drain the HTTP/2 connection flow-control window in elixir-grpc grpc_serverMedium 6.3 13 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-71397