SEVERITY NOT PROVIDED · CVSS 4.0 EPSS 0.5% · 43th percentile CWE-770

CVE-2026-124279: Streaming request body limit enforced only after an 8 MB read in elixir-grpc grpc_server

Published 2026-11-13 · Updated 2026-11-25 · Also known as EEF-CVE-2026-124279, GHSA-736x-r87j-jhcm

Summary

An allocation of resources without limits vulnerability in elixir-grpc grpc_server allows unauthenticated attackers to exhaust server memory using streaming requests. Engineering and security teams maintaining applications with elixir-grpc should update to the patched version.

Who is affected

Affected deployments are those exposing client-streaming or bidirectional-streaming RPC methods using grpc_server versions 1.0.0 up to 1.1.0. An unauthenticated attacker can open many concurrent streaming calls, causing the server to buffer more request data than configured and exhausting node memory to crash the service.

Exploitability

The vulnerability is network-accessible with low attack complexity, requiring low privileges and no user interaction. The CVSS 4.0 attack requirements are present (AT:P), and the EPSS score is 0.005 with CISA KEV status set to no.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Hex grpc_server >= 1.0.0, < 1.1.0 1.1.0 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 vectorNetwork
Attack complexityLow
Attack requirementsPresent
Privileges requiredNone
User interactionNone
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 memory exhaustion in grpc_server?

The server requests up to 8,000,000 bytes per read and verifies the max_body_size limit only after the read completes, causing large chunks to be buffered in memory before being refused.

Which versions of grpc_server are vulnerable?

Versions introduced from 1.0.0 before 1.1.0 are affected.

Is active exploitation documented in CISA KEV?

No, CISA Known Exploited Vulnerabilities status is no.

Original advisory description
## Summary Allocation of Resources Without Limits or Throttling vulnerability in elixir-grpc grpc_server allows unauthenticated attackers to exhaust server memory via client-streaming or bidirectional-streaming requests. The streaming read clause of `GRPC.Server.Adapters.Cowboy.Handler.info/3` (`grpc_server/lib/grpc/server/adapters/cowboy/handler.ex`) asks Cowboy for up to 8,000,000 bytes per read and compares the running total with `max_body_size` only after the read returns. The gRPC length prefix of a message is not checked before the message is buffered. Each stream can therefore buffer up to one full read beyond the configured limit before it is refused, and many concurrent streams exhaust node memory. Releases before 1.0.6 apply no limit to streaming requests at all. This issue affects grpc_server: from 1.0.0 before 1.1.0. ## Details **1. Large reads** `async_read_body/2` asks Cowboy for up to 8,000,000 bytes per read on the streaming path, whatever `max_body_size` is set to. **2. The limit is checked after the read** `track_body_bytes/2` adds each returned chunk to a running total and refuses the stream with `RESOURCE_EXHAUSTED` only once the total exceeds `max_body_size`. By then the whole chunk is in memory. **3. No check on the length prefix** The 5-byte gRPC prefix can declare up to 4 GiB. The server does not compare it with any limit before buffering, so a prefix that declares an oversized message does not stop the read. **4. Result** Each client-streaming or bidirectional-streaming call can make the server hold several megabytes more than the configured limit, and the attacker can open many such calls at once. Before 1.0.6 the streaming path had no limit, and `GRPC.Server.Adapters.Cowboy.reading_stream/1` buffered the whole body. ## Impact An unauthenticated client that opens many streaming calls can make the server buffer more request data than its configured limit allows and crash the node, taking down every service on it. ## Configurations The server must expose at least one client-streaming or bidirectional-streaming RPC method.

References

Source records: EEF-CVE-2026-124279 (OSV.dev) · EPSS by FIRST, 2026-11-25.