{"id":"CVE-2026-71397","summary":"Unbounded request body accumulation on streaming RPCs causes memory exhaustion in grpc_server","details":"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.\n\nThe 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.\n\nThis issue affects grpc_server: from 1.0.0 before 1.0.6.","aliases":["EEF-CVE-2026-71397","GHSA-vx6q-cr5q-945g"],"modified":"2026-11-19T08:50:04.377984075Z","published":"2026-11-06T21:02:03.676Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71397.json"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-71397.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-71397"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71397.json"},{"type":"ADVISORY","url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-vx6q-cr5q-945g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71397"},{"type":"FIX","url":"https://github.com/elixir-grpc/grpc/commit/0b663ca53dbf0f36f7f67ff1d0026f4482a18915"},{"type":"FIX","url":"https://github.com/elixir-grpc/grpc/commit/49e18c3ec6bb9afe2f712caad3dbab5c56a68a00"},{"type":"PACKAGE","url":"https://github.com/elixir-grpc/grpc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elixir-grpc/grpc","events":[{"introduced":"49e18c3ec6bb9afe2f712caad3dbab5c56a68a00"},{"fixed":"0b663ca53dbf0f36f7f67ff1d0026f4482a18915"},{"introduced":"8105f803030f7f5ae1d722251ee6ab2e36878830"},{"fixed":"2301aa044cdb999254c7328151d1d723f65ece38"},{"fixed":"49e18c3ec6bb9afe2f712caad3dbab5c56a68a00"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"49e18c3ec6bb9afe2f712caad3dbab5c56a68a00"},{"fixed":"0b663ca53dbf0f36f7f67ff1d0026f4482a18915"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"1.0.0"},{"fixed":"1.0.6"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"49e18c3ec6bb9afe2f712caad3dbab5c56a68a00"}]},{"range":[{"fixed":"0b663ca53dbf0f36f7f67ff1d0026f4482a18915"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v1.0.3","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-71397.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}