CVE-2026-121808: falha de alta gravidade em elixir-grpc grpc
Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 8.2epss 0.7%
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-grpc grpc_core and grpc allows unauthenticated attackers to exhaust server memory via a compressed Erlang external term in a gRPC message body.
GRPC.Codec.Erlpack.decode/2 (grpc_core/lib/grpc/codec/erlpack.ex, and lib/grpc/codec/erlpack.ex before the package split) passes the message body to :erlang.binary_to_term/2. That function inflates a compressed term in full before it returns. The codec sets no limit on the decoded size, and its type checks run only on the decoded term. The server's max_body_size limit counts the compressed bytes of the request. A request with Content-Type: application/grpc+erlpack can therefore make the server allocate a term much larger than the request body.
This issue affects grpc: from 0.4.0 before 1.0.0; grpc_core: from 1.0.0 before 1.1.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
CVEs relacionadas — elixir-grpc grpc
No mesmo produto, das mais perigosas para as menos.
CVE-2026-48853CRITICALRemote code execution and denial of service via unsafe Erlang term deserialization in elixir-grpc/grpcEPSS 0.8%CVE-2026-121809HIGHCPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_serverEPSS 0.7%CVE-2026-124278HIGHPath bindings ignored for gRPC Content-Types on transcoded routes in elixir-grpc grpc_serverEPSS 0.5%CVE-2026-48854HIGHUnbounded request body accumulation causes memory exhaustion in elixir-grpc/grpcEPSS 0.5%CVE-2026-53430HIGHgrpc gzip decompression bomb in GRPC.Compressor.Gzip.decompress/1EPSS 0.4%CVE-2026-48599HIGHAuthorization bypass via path binding override in elixir-grpc/grpc HTTP transcodingEPSS 0.3%
Referências
https://cna.erlef.org/cves/CVE-2026-121808.htmlhttps://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292https://github.com/elixir-grpc/grpc/commit/25bcc569fe2cc4478531a6c546c923205fc751c9https://github.com/elixir-grpc/grpc/commit/d6bc56ac75dfb6c02db2099909210a37c9be8db6https://github.com/elixir-grpc/grpc/security/advisories/GHSA-xxp9-7hp4-rqwphttps://osv.dev/vulnerability/EEF-CVE-2026-121808