{"id":"CVE-2026-53430","published":"2026-06-15T21:55:33Z","modified":"2026-11-20T09:09:09Z","title":"grpc gzip decompression bomb in GRPC.Compressor.Gzip.decompress/1","vendor":"elixir-grpc","product":"grpc","tier":"tail","description":{"text":"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.\n\nThis vulnerability is associated with program files lib/grpc/compressor/gzip.ex, lib/grpc/message.ex and program routines GRPC.Compressor.Gzip.decompress/1, GRPC.Message.from_data/2.\n\nGRPC.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.\n\nThis issue affects grpc: from 0.4.0 before 1.0.0; grpc_core: from 1.0.0-alfa before 1.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00524,"percentile":0.37796,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-6ccx-9c9f-327w","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-53430.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-53430","tags":["related"]},{"url":"https://github.com/elixir-grpc/grpc/commit/beae6800fc8baf126f3fe7107d86a50e105275ba","tags":["related"]},{"url":"https://github.com/elixir-grpc/grpc/commit/1afbab9d57d2a3e16ca9c62ffa4923338ea96cfc","tags":["patch"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":7.56},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"elixir-grpc","affectedVersions":[{"vendor":"elixir-grpc","product":"grpc","versions":[">= 0.4.0, < 1.0.0"]},{"vendor":"elixir-grpc","product":"grpc","versions":[">= 1.0.0-alfa, < 1.0.0"]},{"vendor":"elixir-grpc","product":"grpc","versions":[">= beae6800fc8baf126f3fe7107d86a50e105275ba, < 1afbab9d57d2a3e16ca9c62ffa4923338ea96cfc"]}],"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-16T14:42:39.467618Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"grpc","vulnerableRanges":[">=0.4.0, <1.0.0"],"patched":["1.0.0"],"from":["GHSA-6ccx-9c9f-327w"],"provenance":"source"}],"summary":{"text":"The elixir-grpc grpc library's GRPC.Compressor.Gzip.decompress/1 (in lib/grpc/compressor/gzip.ex, used via GRPC.Message) calls :zlib.gunzip/1 on incoming data with no decompressed-size limit, so the decompressed output is never bounded before allocation. An unauthenticated remote peer over the network needs only to send a single crafted gzip-encoded gRPC frame, requiring no user interaction and no special configuration beyond the server accepting gzip-encoded messages, to make the node allocate gigabytes of memory and crash from out-of-memory exhaustion.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:07Z"},"euvd":{"id":"EUVD-2026-37014","exploited":false,"provenance":"source"}}