CVE-2026-48853: CWE-502 Deserialization of Untrusted Data in elixir-grpc grpc
A critical deserialization vulnerability exists in elixir-grpc grpc versions starting from 0.4.0 before 1.0.0. The vulnerability arises from unsafe use of :erlang.binary_to_term/1 without safety options or size/type checks, allowing unauthenticated attackers to send crafted payloads that can exhaust the atom table and crash the BEAM VM or execute arbitrary code remotely.
AI Analysis
Technical Summary
The elixir-grpc grpc library (versions >=0.4.0 and <1.0.0) contains a deserialization vulnerability in the 'Elixir.GRPC.Codec.Erlpack':decode/2 function. This function calls :erlang.binary_to_term/1 on incoming gRPC messages with Content-Type 'application/grpc+erlpack' without using the :safe option, size limits, or type guards. An unauthenticated attacker can exploit this by sending a malicious payload that creates arbitrary atoms, which are never garbage collected, leading to atom table exhaustion and a crash of the BEAM node. Additionally, if the deserialized term is a function (fun) and is invoked downstream, it can lead to remote code execution within the server process.
Potential Impact
Successful exploitation allows unauthenticated attackers to cause a denial of service by crashing the BEAM virtual machine through atom table exhaustion. Furthermore, it can lead to remote code execution on the server if the crafted payload includes a function term that is invoked, potentially compromising the server's integrity and confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid accepting gRPC requests with Content-Type 'application/grpc+erlpack' from untrusted sources or implement strict input validation and deserialization safeguards. Monitor vendor channels for updates and apply official patches once released.
CVE-2026-48853: CWE-502 Deserialization of Untrusted Data in elixir-grpc grpc
Description
A critical deserialization vulnerability exists in elixir-grpc grpc versions starting from 0.4.0 before 1.0.0. The vulnerability arises from unsafe use of :erlang.binary_to_term/1 without safety options or size/type checks, allowing unauthenticated attackers to send crafted payloads that can exhaust the atom table and crash the BEAM VM or execute arbitrary code remotely.
CVSS v4.0
Score 9.2critical
Affected software
cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The elixir-grpc grpc library (versions >=0.4.0 and <1.0.0) contains a deserialization vulnerability in the 'Elixir.GRPC.Codec.Erlpack':decode/2 function. This function calls :erlang.binary_to_term/1 on incoming gRPC messages with Content-Type 'application/grpc+erlpack' without using the :safe option, size limits, or type guards. An unauthenticated attacker can exploit this by sending a malicious payload that creates arbitrary atoms, which are never garbage collected, leading to atom table exhaustion and a crash of the BEAM node. Additionally, if the deserialized term is a function (fun) and is invoked downstream, it can lead to remote code execution within the server process.
Potential Impact
Successful exploitation allows unauthenticated attackers to cause a denial of service by crashing the BEAM virtual machine through atom table exhaustion. Furthermore, it can lead to remote code execution on the server if the crafted payload includes a function term that is invoked, potentially compromising the server's integrity and confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid accepting gRPC requests with Content-Type 'application/grpc+erlpack' from untrusted sources or implement strict input validation and deserialization safeguards. Monitor vendor channels for updates and apply official patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-25T20:44:10.696Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a307d3d0b89be6888adcd25
Added to database: 06/15/2026, 22:31:25 UTC
Last enriched: 06/23/2026, 15:07:31 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 105
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.