CVE-2026-121808
HIGH 8.2CVSS 4.0Memory 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: from 0.4.0 before 1.0.0; grpc_core: from 1.0.0 before 1.1.0.
- Published
- 13 Nov 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-409
- Also known as
- EEF-CVE-2026-121808GHSA-xxp9-7hp4-rqwp
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-121808JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | HIGH 8.2 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | grpccpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:* |
>= 0.4.0, < 1.0.0 | 1.0.0 |
| CVE List | https://github.com | elixir-grpc/grpccpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:* |
>= 25bcc569fe2cc4478531a6c546c923205fc751c9, < 0332faae5f5e132314794dbfdae5edecbccea292 | 0332faae5f5e132314794dbfdae5edecbccea292 |
| CVE List | https://repo.hex.pm | grpc_corecpe:2.3:a:elixir-grpc:grpc_core:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.1.0 | 1.1.0 |
| CVE List | https://github.com | elixir-grpc/grpccpe:2.3:a:elixir-grpc:grpc_core:*:*:*:*:*:*:*:* |
>= 0332faae5f5e132314794dbfdae5edecbccea292, < d6bc56ac75dfb6c02db2099909210a37c9be8db6 | d6bc56ac75dfb6c02db2099909210a37c9be8db6 |
| OSV | Hex | grpc | >= 0.4.0, < 1.0.0 | 1.0.0 |
| OSV | Hex | grpc_core | >= 1.0.0, < 1.1.0 | 1.1.0 |
References
- https://cna.erlef.org/cves/CVE-2026-121808.html · related, WEB
- https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292 · patch, FIX
- https://github.com/elixir-grpc/grpc/commit/25bcc569fe2cc4478531a6c546c923205fc751c9 · related, WEB
- https://github.com/elixir-grpc/grpc/commit/d6bc56ac75dfb6c02db2099909210a37c9be8db6 · patch, FIX
- https://github.com/elixir-grpc/grpc/security/advisories/GHSA-xxp9-7hp4-rqwp · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-121808 · related
- https://hex.pm/packages/grpc · PACKAGE
- https://hex.pm/packages/grpc_core · PACKAGE
History
- 25 Nov 2026 20:32 UTC · CVE List: first stored (published 13 Nov 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 Nov 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 13 Nov 2026)