CVE-2026-121808elixir-grpc grpc
NVD
Vulnerability Summary
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.
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 v4.0 Base Metrics — Score 8.2 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- elixir-grpc grpc >= 0.4.0 and < 1.0.0
- elixir-grpc grpc >= 25bcc569fe2cc4478531a6c546c923205fc751c9 and < 0332faae5f5e132314794dbfdae5edecbccea292
- elixir-grpc grpc_core >= 1.0.0 and < 1.1.0
- elixir-grpc grpc_core >= 0332faae5f5e132314794dbfdae5edecbccea292 and < d6bc56ac75dfb6c02db2099909210a37c9be8db6
- elixir-grpc grpc 1.0.0
- elixir-grpc grpc 0332faae5f5e132314794dbfdae5edecbccea292
- elixir-grpc grpc_core 1.1.0
- elixir-grpc grpc_core d6bc56ac75dfb6c02db2099909210a37c9be8db6
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run elixir-grpc grpc and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 13, 2026Published
- Nov 16, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new elixir-grpc grpc CVEsYou are reading CVE-2026-121808. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore elixir-grpc grpc CVEs
External References
- Vendor Advisoryhttps://github.com/elixir-grpc/grpc/security/advisories/GHSA-xxp9-7hp4-rqwp
- Referencehttps://cna.erlef.org/cves/CVE-2026-121808.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-121808
- Patchhttps://github.com/elixir-grpc/grpc/commit/25bcc569fe2cc4478531a6c546c923205fc751c9
- Patchhttps://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292
- Patchhttps://github.com/elixir-grpc/grpc/commit/d6bc56ac75dfb6c02db2099909210a37c9be8db6
Data last checked: Nov 18, 2026 02:10 UTC