CVE-2026-48853

Remote code execution and denial of service via unsafe Erlang term deserialization in elixir-grpc/grpc

State
Published
Severity
9.2 Critical
Published
Jun 15, 2026
Updated
Sep 24, 2026
Reserved
May 25, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.09.2 CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NEEF

Weaknesses

  • CWE-502 Deserialization of Untrusted Data
  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
grpcelixir-grpc
  • 0.4.0 to before 1.0.0Affected
grpcelixir-grpc
  • 25bcc569fe2cc4478531a6c546c923205fc751c9 to before 272a97a5ea1b46af1819f14a831fcf35fc91f992Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.