CVE-2026-71397: Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_server
Published 2026-11-06 · Updated 2026-11-25 · Also known as EEF-CVE-2026-71397, GHSA-vx6q-cr5q-945g
Summary
An unbounded request body accumulation vulnerability in the Elixir grpc_server package allows unauthenticated attackers to cause a memory exhaustion crash via streaming RPCs. Engineering and security teams using the Hex grpc_server package must update their dependencies immediately.
Who is affected
Deployments running Hex grpc_server versions 1.0.0 through 1.0.5 that expose at least one client-streaming or bidirectional-streaming RPC method are affected. An unauthenticated attacker can send an oversized streaming request body using many small HTTP/2 DATA frames to bypass size limits and crash the entire BEAM node.
Exploitability
The vulnerability is exploitable over the network by unauthenticated attackers with low attack complexity, requiring low privileges and no user interaction. The CISA Known Exploited Vulnerabilities status is false, and EPSS is 0.005 with a 0.424 percentile.
Remediation
- Upgrade the Hex grpc_server package to version 1.0.6 or later.
How to check your project
- Check project dependency declarations in mix.exs for the grpc_server package within the affected version range of 1.0.0 to 1.0.5.
Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Hex | grpc_server |
>= 1.0.0, < 1.0.6 | 1.0.6 | mix deps.update grpc_server |
CVSS 4.0 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
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | None |
| Availability (vulnerable system) | High |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the vulnerability?
The streaming read path in grpc_server fails to enforce the configured max_body_size limit, continuously buffering incoming chunks from client-streaming or bidirectional-streaming requests until memory is exhausted.
Are unary requests affected?
No, unary requests correctly enforce the max_body_size cap and are rejected with RESOURCE_EXHAUSTED when they exceed the limit.
What is the fixed version?
The vulnerability is fixed in Hex grpc_server version 1.0.6.
Original advisory description
References
- ADVISORY https://github.com/elixir-grpc/grpc/security/advisories/GHSA-vx6q-cr5q-945g
- WEB https://cna.erlef.org/cves/CVE-2026-71397.html
- WEB https://github.com/elixir-grpc/grpc/commit/49e18c3ec6bb9afe2f712caad3dbab5c56a68a00
- FIX https://github.com/elixir-grpc/grpc/commit/0b663ca53dbf0f36f7f67ff1d0026f4482a18915
- PACKAGE https://hex.pm/packages/grpc_server
Source records: EEF-CVE-2026-71397 (OSV.dev) · EPSS by FIRST, 2026-11-25.