CVE-2026-123635
Medium 6.3No known exploitationFix availableRefused calls drain the HTTP/2 connection flow-control window in elixir-grpc grpc_server
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 25% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
Missing Release of Resource after Effective Lifetime vulnerability in elixir-grpc grpc_server allows a client to stall all later calls on a shared HTTP/2 connection via calls that the server refuses while their DATA frames are in flight. The stream handler grpc_stream_h (grpc_server/src/grpc_stream_h.erl) requests flow from Cowboy only for request data that has arrived. When the server refuses a call early, for example because the body exceeds max_body_size or the method is not implemented, Cowboy drops the DATA frames still in flight for that stream. Their bytes are not returned to the connection flow-control window. After enough refused calls the window is empty. No call on that connection can then send a request body, and each call waits until its deadline. Other connections are not affected. This issue affects grpc_server: from 1.0.0 before 1.1.0.
Weakness: CWE-772
Patching and mitigation
- Patch status
- Fix available (source: CVE record (EEF))
- Fix documented (source date)
- Mitigation
- Put a Cowboy stream handler in front of grpc_stream_h with the adapter option stream_handlers: [MyHandler, :grpc_stream_h]. In init/3, the handler calls :cowboy_stream.init/3 and adds a {:flow, size} command when the request has a body, where size is Cowboy's max_frame_size_received (16384 by default). It passes all other callbacks to :cowboy_stream. Source (opens in a new tab)
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| elixir-grpc | grpc_server | from 0332faae5f5e132314794dbfdae5edecbccea292 before 61a71948e6e7b95efb27d48e7084c764503cc802 | 61a71948e6e7b95efb27d48e7084c764503cc802 | CVE Program |
| elixir-grpc | grpc_server | from 1.0.0 before 1.1.0 | 1.1.0 | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (EEF)
Vendor guidance and references
- Fix commit 61a7194 in elixir-grpc/grpc (opens in a new tab)patch
- Refused calls drain the HTTP/2 connection flow-control window in elixir-grpc grpc_server (opens in a new tab)related, vendor-advisory
- EEF CNA record for CVE-2026-123635 (opens in a new tab)related
- Introducing commit 0332faa in elixir-grpc/grpc (opens in a new tab)related
- OSV record EEF-CVE-2026-123635 (opens in a new tab)related