{"id":"CVE-2026-53430","state":"PUBLISHED","title":"grpc gzip decompression bomb in GRPC.Compressor.Gzip.decompress/1","description":"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 'Elixir.GRPC.Compressor.Gzip':decompress/1, 'Elixir.GRPC.Message':from_data/2.\n\n'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.\n\nThis issue affects grpc: from 0.4.0 before 1.0.0.","publishedAt":"2026-06-15T21:55:33.707Z","updatedAt":"2026-06-17T04:46:39.180Z","severity":{"score":8.7,"label":"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","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://hex.pm","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Compressor.Gzip'","'Elixir.GRPC.Message'"],"programFiles":["lib/grpc/compressor/gzip.ex","lib/grpc/message.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Compressor.Gzip':decompress/1"},{"name":"'Elixir.GRPC.Message':from_data/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":"beae6800fc8baf126f3fe7107d86a50e105275ba","status":"affected","lessThan":"1afbab9d57d2a3e16ca9c62ffa4923338ea96cfc","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Compressor.Gzip'","'Elixir.GRPC.Message'"],"programFiles":["lib/grpc/compressor/gzip.ex","lib/grpc/message.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Compressor.Gzip':decompress/1"},{"name":"'Elixir.GRPC.Message':from_data/2"}],"repo":"https://github.com/elixir-grpc/grpc"}],"references":["https://github.com/elixir-grpc/grpc/security/advisories/GHSA-6ccx-9c9f-327w","https://cna.erlef.org/cves/CVE-2026-53430.html","https://osv.dev/vulnerability/EEF-CVE-2026-53430","https://github.com/elixir-grpc/grpc/commit/1afbab9d57d2a3e16ca9c62ffa4923338ea96cfc"],"weaknesses":["CWE-409"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53430.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53430","state":"PUBLISHED","datePublished":"2026-06-15T21:55:33.707Z","dateUpdated":"2026-06-17T04:46:39.180Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-06-09T11:01:47.529Z"},"containers":{"cna":{"title":"grpc gzip decompression bomb in GRPC.Compressor.Gzip.decompress/1","descriptions":[{"lang":"en","value":"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 'Elixir.GRPC.Compressor.Gzip':decompress/1, 'Elixir.GRPC.Message':from_data/2.\n\n'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.\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://hex.pm","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Compressor.Gzip'","'Elixir.GRPC.Message'"],"programFiles":["lib/grpc/compressor/gzip.ex","lib/grpc/message.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Compressor.Gzip':decompress/1"},{"name":"'Elixir.GRPC.Message':from_data/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":"beae6800fc8baf126f3fe7107d86a50e105275ba","status":"affected","lessThan":"1afbab9d57d2a3e16ca9c62ffa4923338ea96cfc","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*"],"modules":["'Elixir.GRPC.Compressor.Gzip'","'Elixir.GRPC.Message'"],"programFiles":["lib/grpc/compressor/gzip.ex","lib/grpc/message.ex"],"programRoutines":[{"name":"'Elixir.GRPC.Compressor.Gzip':decompress/1"},{"name":"'Elixir.GRPC.Message':from_data/2"}],"repo":"https://github.com/elixir-grpc/grpc"}],"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/1afbab9d57d2a3e16ca9c62ffa4923338ea96cfc","tags":["patch"]}],"metrics":[{"cvssV4_0":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-409","description":"CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-06-17T04:46:39.180Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:elixir-grpc:grpc:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.0","versionStartIncluding":"0.4.0","vulnerable":true}],"negate":false,"operator":"AND"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Paulo Valente"}],"impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-6ccx-9c9f-327w","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-16T14:42:39.467618Z","id":"CVE-2026-53430","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-16T14:43:11.143Z"}}]}}}