Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Elixir gRPC endpoint
-
DeliverySend request with Content-Type application/grpc+erlpack
-
ExploitTrigger unsafe binary_to_term in Erlpack.decode/2
-
ExecutionInject crafted atoms or fun term
-
PersistExhaust atom table or apply attacker fun
-
ImpactCrash BEAM node or execute code as server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target Elixir/Erlang gRPC server must have the GRPC.Codec.Erlpack codec registered so it accepts requests with Content-Type: application/grpc+erlpack - this is the AT:P attack requirement reflected in the CVSS 4.0 vector. No authentication, user interaction, or special privileges are needed (PR:N, UI:N), and the request is sent over the network (AV:N). The DoS via atom-table exhaustion works against any service exposing the erlpack codec, but the RCE path additionally requires that decoded terms reach a downstream call site that applies them (e.g., an :erlang.apply, an anonymous-function invocation, or a behaviour callback that treats the decoded value as a fun) - purely-passthrough handlers may only be exploitable for DoS. |
| Impact | The CVSS 4.0 base score of 9.2 reflects network attack vector, low complexity, no privileges, and high VC/VI/VA impact - but AT:P (Attack Requirements: Present) signals that the target must accept the erlpack content type, which is a real deployment-dependent gate. The DoS path via atom-table exhaustion is unconditional for any server registering this codec; the RCE path additionally requires that a decoded term reach an apply site, which is application-specific and less universally exploitable. No EPSS score, KEV listing, or public PoC was provided, and active exploitation has not been confirmed. The upstream patch and EEF advisory raise this above a theoretical issue: any Elixir gRPC service that has the Erlpack codec enabled (or registered by default) is a real priority, while pure-protobuf gRPC deployments are likely unaffected in practice. |
| Exploit ScenarioDerived | An unauthenticated attacker discovers an internet-exposed Elixir gRPC service and sends a single HTTP/2 request with Content-Type: application/grpc+erlpack carrying an Erlang External Term Format payload that encodes thousands of unique novel atoms, exhausting the BEAM atom table and crashing the node (DoS). For RCE, the attacker instead encodes a fun term that, when the application later applies the decoded value, executes shell commands as the gRPC server user. No public exploit code is identified at time of analysis, but the :erlang.binary_to_term/1 attack pattern is well-documented in the Erlang security community. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 15, 2026
Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remote attackers to crash the BEAM VM via atom-table exhaustion or achieve remote code execution by sending crafted gRPC payloads with Content-Type application/grpc+erlpack. The flaw lives in GRPC.Codec.Erlpack.decode/2, which calls :erlang.binary_to_term/1 without the :safe option, size bounds, or type guards. No public exploit is identified at time of analysis, but the upstream fix is published at commit 272a97a and a patched 1.0.0 release is available.
RemediationAI
Vendor-released patch: upgrade the elixir-grpc grpc Hex dependency to 1.0.0 or later, which contains the fix landed in commit 272a97a5ea1b46af1819f14a831fcf35fc91f992 (see https://github.com/elixir-grpc/grpc/commit/272a97a5ea1b46af1819f14a831fcf35fc91f992 and the advisory at https://github.com/elixir-grpc/grpc/security/advisories/GHSA-grp7-v8xh-rj7h). If immediate upgrade is not possible, remove or unregister the Erlpack codec from your gRPC server's accepted codecs so requests with Content-Type application/grpc+erlpack are rejected - the trade-off is that any legitimate internal clients relying on the erlpack wire format will break and must move to protobuf or JSON. As a network-layer compensating control, terminate gRPC behind a reverse proxy or service mesh that strips or rejects application/grpc+erlpack content types, accepting that this requires Layer-7 inspection and may add latency. Increasing the BEAM +t atom-table limit only delays the DoS and does nothing to mitigate the RCE path, so it is not a sufficient standalone mitigation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The elixir-grpc project is an Elixir/Erlang implementation of gRPC that runs on the BEAM virtual machine. The vulnerable codec module lib/grpc/codec/erlpack.ex uses Erlang's External Term Format via :erlang.binary_to_term/1, a known-dangerous API documented by the Erlang Ecosystem Foundation (EEF) - the reporter here - as unsafe for untrusted input. Without the :safe atom, attackers can mint new atoms (BEAM's atom table is bounded, typically 1,048,576 entries, and atoms are never garbage-collected) or encode fun terms, pids, ports, and references. The root cause is CWE-502 (Deserialization of Untrusted Data), compounded by CWE-770 (Allocation of Resources Without Limits or Throttling). When a decoded fun term flows into any call site that applies it (e.g., :erlang.apply/2 or anonymous-function invocation), the attacker-controlled closure executes inside the gRPC server process.
Know when Grpc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable and unauthenticated, but the server must register the erlpack codec and RCE requires a downstream apply site, justifying AC:H; full C/I/A impact on the BEAM node.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Deserialization of Untrusted Data and Allocation of Resources Without Limits or Throttling vulnerabilities in elixir-grpc grpc allow unauthenticated attackers to crash the BEAM node via atom table exhaustion and, when a decoded term flows into a call site that invokes it, achieve remote code execution on the server.
'Elixir.GRPC.Codec.Erlpack':decode/2 (lib/grpc/codec/erlpack.ex) calls :erlang.binary_to_term/1 on the raw gRPC message body without the :safe option, no size bound, and no type guard. Any unauthenticated peer that sends a request with Content-Type: application/grpc+erlpack can send a crafted payload that mints arbitrary new atoms (which are never garbage-collected, exhausting the bounded atom table and crashing the VM) or that encodes a fun term which, if applied anywhere downstream, executes attacker-controlled code inside the server process.
This issue affects grpc from 0.4.0 before 1.0.0.
Executive ViewAI
The elixir-grpc library (versions 0.4.0-1.0.0) contains a critical deserialization vulnerability in its gRPC protocol handler that enables unauthenticated remote attackers to crash applications or achieve remote code execution. Organizations running vulnerable versions in production face material risk of service disruption and infrastructure compromise without authentication barriers. No public exploit identified at time of analysis, but the attack surface is substantial for any deployment with external gRPC exposure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Google gRPC before 2017-03-29 has an out-of-bounds write caused by a heap-based use-after-free related to the grpc_call_
Memory exhaustion in gRPC-Go before version 1.83.1 allows an unauthenticated remote attacker to crash any service built
Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to cra
Unauthenticated denial of service in the elixir-grpc library (versions 0.3.1 up to but not including 1.0.0) allows a sin
Authorization bypass in elixir-grpc (grpc library for Elixir) versions 0.8.0 through 0.x allows authenticated attackers
Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one
It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the ba
Google gRPC before 2017-02-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the parse_uni
Google gRPC before 2017-02-22 has an out-of-bounds write related to the gpr_free function in core/lib/support/alloc.c. R
Google gRPC before 2017-04-05 has an out-of-bounds write caused by a heap-based buffer overflow related to core/lib/iomg
The package grpc before 1.24.4; the package @grpc/grpc-js before 1.1.8 are vulnerable to Prototype Pollution via loadPac
EUVD-2026-37015
GHSA-grp7-v8xh-rj7h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB