PT-2026-49533 · Elixir Grpc+1 · Grpc
Jonatan Männchen
+2
·
Published
2026-06-15
·
Updated
2026-06-15
·
CVE-2026-48853
CVSS v4.0
9.2
Critical
| Vector | AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
grpc versions 0.4.0 through 0.9.x
Description
Deserialization of untrusted data and allocation of resources without limits or throttling allow unauthenticated attackers to crash the BEAM node or achieve remote code execution on the server. The function
decode/2 in Elixir.GRPC.Codec.Erlpack calls :erlang.binary to term/1 on the raw gRPC message body without the :safe option, size bounds, or type guards. An unauthenticated peer sending a request with Content-Type: application/grpc+erlpack can provide a crafted payload to mint arbitrary new atoms, which are not garbage-collected, leading to atom table exhaustion and a VM crash. Additionally, the payload can encode a fun term that executes attacker-controlled code if applied downstream. This issue occurs when GRPC.Codec.Erlpack is explicitly registered as a codec on the gRPC server.Recommendations
Update to version 1.0.0 or later.
As a temporary workaround, avoid registering
GRPC.Codec.Erlpack as a codec on the gRPC server.Fix
Deserialization of Untrusted Data
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Grpc