Skip to main content

elixir-grpc CVE-2026-53430

| EUVDEUVD-2026-37014 HIGH
Improper Handling of Highly Compressed Data (Data Amplification) (CWE-409)
2026-06-15 EEF GHSA-6ccx-9c9f-327w
8.7
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Elixir gRPC endpoint
  2. Delivery
    Craft tiny gzip bomb of zeros
  3. Exploit
    Open HTTP/2 stream with grpc-encoding: gzip
  4. Execution
    Send single compressed frame
  5. Persist
    Trigger unbounded :zlib.gunzip allocation
  6. Impact
    BEAM node OOM-killed, service unavailable

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
Exploitation Conditions

Target must run elixir-grpc grpc 0.4.0 through pre-1.0.0 with the default gzip compressor registered (this is the out-of-box configuration - no special enablement needed) and must accept gRPC traffic from the attacker's network position. Exploitation requires only that the attacker can send a single gRPC frame with the grpc-encoding: gzip header set; no authentication, no user interaction, and no prior knowledge of service methods are required. The only meaningful limits are network reachability to the gRPC port and the absence of an upstream proxy that strips gzip encoding or enforces decompressed-size accounting; the existing max_receive_message_length setting provides no protection because it is checked post-decompression.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (score 8.7 High) accurately reflects an unauthenticated, network-reachable, single-packet DoS with no confidentiality or integrity impact. No EPSS score or KEV listing was provided, and no public PoC is referenced, so the issue currently rates as 'no public exploit identified at time of analysis'; however, the patch commit ships an explicit test that builds a working bomb (9 MB of zeros gzipped) in a handful of lines, meaning a functional exploit is trivial to reconstruct from the public diff. SSVC-wise this looks Automatable=yes, Technical Impact=partial (availability of the BEAM node only) - a meaningful concern for any production Elixir gRPC server exposed to untrusted peers, but not a confidentiality/integrity escalation. Priority should be elevated for internet-facing services or multi-tenant clusters where a single OOM crash translates to noisy-neighbor or full outage; lower for internal-only services behind authenticated mesh ingress. No conflicts between signals were observed.

Exploit ScenarioDerived

An attacker reaches any internet-exposed Elixir gRPC endpoint, opens an HTTP/2 stream, sets the grpc-encoding: gzip header, and sends a single message frame containing a few kilobytes of zeros pre-compressed with gzip. The receiving BEAM node calls :zlib.gunzip/1, allocates multiple gigabytes on the heap in one shot, and is OOM-killed before max_receive_message_length is ever consulted; repeating the request keeps the service unavailable. The vendor's patch test (9 MB bomb from :binary.copy(<<0>>, bomb_size)) effectively serves as a reproducer.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 15, 2026

Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to crash BEAM nodes via a gzip decompression bomb. The GRPC.Compressor.Gzip module calls :zlib.gunzip/1 directly on attacker-controlled bytes without size limits, ratio checks, or incremental decoding, so a single small frame carrying the grpc-encoding: gzip header expands to multi-gigabyte allocations and triggers OOM kills. No public exploit identified at time of analysis, but a vendor patch is available in version 1.0.0.

RemediationAI

Vendor-released patch: upgrade elixir-grpc grpc to version 1.0.0 or later, which rewrites GRPC.Compressor.Gzip.decompress/1 to use :zlib.inflateInit with windowBits 31 and feeds the compressed input in 8 KB slices, aborting with GRPC.RPCError status :resource_exhausted as soon as the decompressed accumulator exceeds the limit (default 4 MB, matching gRPC-Go); the limit is tunable via Application.put_env(:grpc, :max_decompressed_message_length, bytes). The fix commit is https://github.com/elixir-grpc/grpc/commit/1afbab9d57d2a3e16ca9c62ffa4923338ea96cfc and the full advisory is at https://github.com/elixir-grpc/grpc/security/advisories/GHSA-6ccx-9c9f-327w. If immediate upgrade is not possible, compensating controls include stripping or rejecting the grpc-encoding: gzip header at an upstream proxy (Envoy, nginx, or a service mesh sidecar) so frames never reach the Elixir decoder - this disables legitimate gzip compression and increases bandwidth use - or fronting the service with a WAF/proxy that enforces a strict pre-decompression frame size cap (note that small bombs still slip under any reasonable cap, so this is partial mitigation only). Restricting gRPC ingress to authenticated/mTLS peers reduces exposure but does not eliminate it where authenticated clients are themselves untrusted.

Affected VersionsENISA

gRPC beae6800fc8baf126f3fe7107d86a50e105275ba <1afbab9d57d2a3e16ca9c62ffa4923338ea96cfc
gRPC 0.4.0 <1.0.0

Affected Packages

euvd grpc fix: 1.0.0

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

elixir-grpc is the de-facto gRPC implementation for the Elixir/Erlang ecosystem, running on the BEAM virtual machine. The vulnerability sits in lib/grpc/compressor/gzip.ex within the 'Elixir.GRPC.Compressor.Gzip':decompress/1 routine, which is the registered handler for the grpc-encoding: gzip header and is therefore invoked automatically by lib/grpc/message.ex's 'Elixir.GRPC.Message':from_data/2 whenever a peer advertises gzip compression. The root cause is CWE-409 (Improper Handling of Highly Compressed Data, a.k.a. data amplification / zip bomb). :zlib.gunzip/1 is a one-shot Erlang built-in that materializes the entire decompressed output as a single binary on the process heap, with no streaming or upper bound. Gzip's DEFLATE algorithm routinely achieves ~1000:1 ratios on runs of zeros, so a few kilobytes inflate to multi-gigabyte allocations. The max_receive_message_length guard is applied to the already-decompressed payload, so it is structurally incapable of preventing this allocation. CPE coverage is cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*.

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

Vendor (EEF) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Single unauthenticated network frame with gzip header triggers OOM on the BEAM node, so AV:N/AC:L/PR:N/UI:N and availability-only impact A:H with C:N/I:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-grpc grpc (GRPC.Compressor.Gzip, GRPC.Message modules) allows a denial of service via a gzip decompression bomb.

This vulnerability is associated with program files lib/grpc/compressor/gzip.ex, lib/grpc/message.ex and program routines 'Elixir.GRPC.Compressor.Gzip':decompress/1, 'Elixir.GRPC.Message':from_data/2.

'Elixir.GRPC.Compressor.Gzip':decompress/1 calls :zlib.gunzip/1 directly on attacker-controlled bytes with no decompressed-size limit, ratio check, or incremental decoding. Because this module is the registered gzip GRPC.Compressor implementation, it is invoked automatically whenever an incoming gRPC frame carries the grpc-encoding: gzip header. :zlib.gunzip/1 allocates the entire decompressed result as a single binary, so a small highly compressible payload (for example a few kilobytes of zeros, which gzip compresses at roughly 1000:1) expands to multiple gigabytes inside a single call. The max_receive_message_length limit is enforced only against the already-decompressed message, so it provides no protection. An unauthenticated remote peer can send a single crafted frame to exhaust the BEAM node's heap and trigger an out-of-memory kill.

This issue affects grpc: from 0.4.0 before 1.0.0.

Executive ViewAI

Why It Matters

The elixir-grpc library contains a critical denial-of-service vulnerability allowing unauthenticated attackers to crash production service instances through specially crafted gzip-compressed requests. Organizations using this library for gRPC services face immediate risk of service outages from trivial network attacks. A vendor patch is available in version 1.0.0 and deployment should begin within 24 hours.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Grpc

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2017-8359 CRITICAL POC
9.8 Apr 30

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_

CVE-2026-48853 CRITICAL POC
9.2 Jun 15

Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remo

CVE-2026-84304 HIGH POC
8.7 Sep 01

Memory exhaustion in gRPC-Go before version 1.83.1 allows an unauthenticated remote attacker to crash any service built

CVE-2026-48854 HIGH POC
8.7 Jun 15

Unauthenticated denial of service in the elixir-grpc library (versions 0.3.1 up to but not including 1.0.0) allows a sin

CVE-2026-48599 HIGH POC
7.6 Jun 15

Authorization bypass in elixir-grpc (grpc library for Elixir) versions 0.8.0 through 0.x allows authenticated attackers

CVE-2026-101914 MEDIUM POC
6.5 Sep 28

Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one

CVE-2024-7246 MEDIUM POC
6.3 Aug 06

It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the ba

CVE-2017-7860 CRITICAL
9.8 Apr 14

Google gRPC before 2017-02-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the parse_uni

CVE-2017-7861 CRITICAL
9.8 Apr 14

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

CVE-2017-9431 CRITICAL
9.8 Jun 05

Google gRPC before 2017-04-05 has an out-of-bounds write caused by a heap-based buffer overflow related to core/lib/iomg

CVE-2020-7768 CRITICAL
9.8 Nov 11

The package grpc before 1.24.4; the package @grpc/grpc-js before 1.1.8 are vulnerable to Prototype Pollution via loadPac

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy