# CVE-2026-71397: Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_server

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-06T21:02:03.676Z
- Modified: 2026-11-25T06:31:01.168Z
- Also known as: EEF-CVE-2026-71397, GHSA-vx6q-cr5q-945g
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- grpc_server: from 1.0.0 before 1.0.6
- elixir-grpc/grpc: from 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00 before 0b663ca53dbf0f36f7f67ff1d0026f4482a18915
- grpc_server (Hex): from 1.0.0 before 1.0.6
- https://github.com/elixir-grpc/grpc: from 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00 before 0b663ca53dbf0f36f7f67ff1d0026f4482a18915

## Every score

- EEF: CVSS:4.0 8.2 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/elixir-grpc/grpc/security/advisories/GHSA-vx6q-cr5q-945g> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-71397.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-71397> (related)
- <https://github.com/elixir-grpc/grpc/commit/49e18c3ec6bb9afe2f712caad3dbab5c56a68a00> (related, web)
- <https://github.com/elixir-grpc/grpc/commit/0b663ca53dbf0f36f7f67ff1d0026f4482a18915> (fix, patch)
- <https://hex.pm/packages/grpc_server> (package)

## Sources

- CVE List: [CVE-2026-71397](https://www.cve.org/CVERecord?id=CVE-2026-71397), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-71397](https://osv.dev/vulnerability/EEF-CVE-2026-71397), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-71397](https://nvd.nist.gov/vuln/detail/CVE-2026-71397), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-71397 · Whole record: https://cve.day/CVE-2026-71397.json · Rebuilt by cve.day 2026-11-25T22:59:49.326Z
