CVE-2026-121808 Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec
설명
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_core: from 1.0.0 before 1.1.0; grpc: from 0.4.0 before 1.0.0.
영향 받는 제품 제품 2개
-
해결 버전 있음
elixir-grpc
grpc_core
영향 받는 버전
- 1.0.0 이상 1.1.0 미만
해결 버전
- 1.1.0 이상
-
해결 버전 있음
elixir-grpc
grpc
영향 받는 버전
- 0.4.0 이상 1.0.0 미만
해결 버전
- 1.0.0 이상
참고 자료 6건
- cna.erlef.org https://cna.erlef.org/cves/CVE-2026-121808.html (새 창)
- github.com https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292 (새 창)
- github.com https://github.com/elixir-grpc/grpc/commit/25bcc569fe2cc4478531a6c546c923205fc751c9 (새 창)
- github.com https://github.com/elixir-grpc/grpc/commit/d6bc56ac75dfb6c02db2099909210a37c9be8db6 (새 창)
- github.com https://github.com/elixir-grpc/grpc/security/advisories/GHSA-xxp9-7hp4-rqwp (새 창)
- osv.dev https://osv.dev/vulnerability/EEF-CVE-2026-121808 (새 창)