{"id":"CVE-2026-48853","state":"PUBLISHED","title":"Remote code execution and denial of service via unsafe Erlang term deserialization in elixir-grpc/grpc","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.\n\n'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.\n\nThis issue affects grpc: from 0.4.0 before 1.0.0.","publishedAt":"2026-06-15T21:56:15.262Z","updatedAt":"2026-09-24T21:08:47.457Z","severity":{"score":9.2,"label":"Critical","version":"4.0","vector":"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","source":"EEF"},"assigner":"EEF","products":["elixir-grpc grpc"],"affected":[{"vendor":"elixir-grpc","product":"grpc","packageName":"grpc","packageURL":"pkg:hex/grpc","defaultStatus":"unaffected","versions":[{"version":"0.4.0","status":"affected","lessThan":"1.0.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Codec.Erlpack'"],"programFiles":["lib/grpc/codec/erlpack.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Codec.Erlpack':decode/2"}],"repo":"https://github.com/elixir-grpc/grpc"},{"vendor":"elixir-grpc","product":"grpc","packageName":"elixir-grpc/grpc","packageURL":"pkg:github/elixir-grpc/grpc","defaultStatus":"unaffected","versions":[{"version":"25bcc569fe2cc4478531a6c546c923205fc751c9","status":"affected","lessThan":"272a97a5ea1b46af1819f14a831fcf35fc91f992","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Codec.Erlpack'"],"programFiles":["lib/grpc/codec/erlpack.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Codec.Erlpack':decode/2"}],"repo":"https://github.com/elixir-grpc/grpc"}],"references":["https://github.com/elixir-grpc/grpc/security/advisories/GHSA-grp7-v8xh-rj7h","https://cna.erlef.org/cves/CVE-2026-48853.html","https://osv.dev/vulnerability/EEF-CVE-2026-48853","https://github.com/elixir-grpc/grpc/commit/25bcc569fe2cc4478531a6c546c923205fc751c9","https://github.com/elixir-grpc/grpc/commit/272a97a5ea1b46af1819f14a831fcf35fc91f992"],"weaknesses":["CWE-502","CWE-770"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48853.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48853","state":"PUBLISHED","datePublished":"2026-06-15T21:56:15.262Z","dateUpdated":"2026-09-24T21:08:47.457Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-05-25T20:44:10.696Z"},"containers":{"cna":{"title":"Remote code execution and denial of service via unsafe Erlang term deserialization in elixir-grpc/grpc","descriptions":[{"lang":"en","value":"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.\n\n'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.\n\nThis issue affects grpc: from 0.4.0 before 1.0.0."}],"affected":[{"vendor":"elixir-grpc","product":"grpc","packageName":"grpc","packageURL":"pkg:hex/grpc","defaultStatus":"unaffected","versions":[{"version":"0.4.0","status":"affected","lessThan":"1.0.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Codec.Erlpack'"],"programFiles":["lib/grpc/codec/erlpack.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Codec.Erlpack':decode/2"}],"repo":"https://github.com/elixir-grpc/grpc"},{"vendor":"elixir-grpc","product":"grpc","packageName":"elixir-grpc/grpc","packageURL":"pkg:github/elixir-grpc/grpc","defaultStatus":"unaffected","versions":[{"version":"25bcc569fe2cc4478531a6c546c923205fc751c9","status":"affected","lessThan":"272a97a5ea1b46af1819f14a831fcf35fc91f992","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Codec.Erlpack'"],"programFiles":["lib/grpc/codec/erlpack.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Codec.Erlpack':decode/2"}],"repo":"https://github.com/elixir-grpc/grpc"}],"references":[{"url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-grp7-v8xh-rj7h","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48853.html","name":"EEF CNA record for CVE-2026-48853","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48853","name":"OSV record EEF-CVE-2026-48853","tags":["related"]},{"url":"https://github.com/elixir-grpc/grpc/commit/25bcc569fe2cc4478531a6c546c923205fc751c9","name":"Introducing commit 25bcc56 in elixir-grpc/grpc","tags":["related"]},{"url":"https://github.com/elixir-grpc/grpc/commit/272a97a5ea1b46af1819f14a831fcf35fc91f992","name":"Fix commit 272a97a in elixir-grpc/grpc","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":9.2,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-24T21:08:47.457Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><code>GRPC.Codec.Erlpack</code> must be explicitly registered as a codec on the gRPC server.</p>"},{"base64":false,"type":"text/markdown","value":"`GRPC.Codec.Erlpack` must be explicitly registered as a codec on the gRPC server."}],"value":"GRPC.Codec.Erlpack must be explicitly registered as a codec on the gRPC server."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.0","versionStartIncluding":"0.4.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Paulo Valente"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"}],"datePublic":"2026-06-15T21:56:15.000Z","impacts":[{"capecId":"CAPEC-586","descriptions":[{"lang":"en","value":"CAPEC-586 Object Injection"}]},{"capecId":"CAPEC-231","descriptions":[{"lang":"en","value":"CAPEC-231 Oversized Serialized Data Payloads"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-grp7-v8xh-rj7h","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-16T14:44:19.175606Z","id":"CVE-2026-48853","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-16T14:45:02.196Z"}}]}}}