Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec
CVE-2026-121808Published 13 Nov 2026, 15:48 UTC
Real-world risk
1.5/ 10Low
Routine
If the vulnerable configuration applies to you: 3.4
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| grpcNiche | >= 0.4.0, < 1.0.0; >= 1.0.0, < 1.1.0 | 1.0.0, 1.1.0 |
What to do
Update to a fixed version: 1.0.0, 1.1.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.6% chance of exploitation in 30 days (percentile 51), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.45 × threat 0.851.530
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 13 Nov 2026 Published
- 3 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-409
References
- https://github.com/elixir-grpc/grpc/security/advisories/GHSA-xxp9-7hp4-rqwprelated, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-121808.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-121808related
- https://github.com/elixir-grpc/grpc/commit/25bcc569fe2cc4478531a6c546c923205fc751c9related
- https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292patch
- https://github.com/elixir-grpc/grpc/commit/d6bc56ac75dfb6c02db2099909210a37c9be8db6patch
- CVE-2026-121808 on CVE.org