CVE-2026-121808
published high CVSS 4.0 · 8.2Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| elixir-grpc | — | grpc0.4.0 to < 1.0.0 · Other versions: unaffected | Affected | Not stated | EEF |
| elixir-grpc | — | elixir-grpc/grpcgrpc · 25bcc569fe2cc4478531a6c546c923205fc751c9 to < 0332faae5f5e132314794dbfdae5edecbccea292 · Other versions: unaffected | Affected | Not stated | EEF |
| elixir-grpc | — | grpc_core1.0.0 to < 1.1.0 · Other versions: unaffected | Affected | Not stated | EEF |
| elixir-grpc | — | elixir-grpc/grpcgrpc_core · 0332faae5f5e132314794dbfdae5edecbccea292 to < d6bc56ac75dfb6c02db2099909210a37c9be8db6 · Other versions: unaffected | Affected | Not stated | EEF |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| elixir-grpc | grpc | 0.4.0 to < 1.0.0 (affected · semver)Default: unaffected | EEF · cna |
| elixir-grpc | grpc | 25bcc569fe2cc4478531a6c546c923205fc751c9 to < 0332faae5f5e132314794dbfdae5edecbccea292 (affected · git)Default: unaffected | EEF · cna |
| elixir-grpc | grpc_core | 1.0.0 to < 1.1.0 (affected · semver)Default: unaffected | EEF · cna |
| elixir-grpc | grpc_core | 0332faae5f5e132314794dbfdae5edecbccea292 to < d6bc56ac75dfb6c02db2099909210a37c9be8db6 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-409 CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
References
6- EEF CNA record for CVE-2026-121808 https://cna.erlef.org/cves/CVE-2026-121808.html
- Fix commit 0332faa in elixir-grpc/grpc https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292
- Introducing commit 25bcc56 in elixir-grpc/grpc https://github.com/elixir-grpc/grpc/commit/25bcc569fe2cc4478531a6c546c923205fc751c9
- Fix commit d6bc56a in elixir-grpc/grpc https://github.com/elixir-grpc/grpc/commit/d6bc56ac75dfb6c02db2099909210a37c9be8db6
- Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec https://github.com/elixir-grpc/grpc/security/advisories/GHSA-xxp9-7hp4-rqwp
- OSV record EEF-CVE-2026-121808 https://osv.dev/vulnerability/EEF-CVE-2026-121808
Provider assertions
2EEF · cna
Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8d5c5d2b0a0b7ad4ca2ee48ca133e0720178e39ef2a24e1f3d8c92729f0b8de5
- Ingested
- 20 Nov 2026, 06:03:31 UTC
- Source record
- Official CVE record