Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression

CVSS 4.0 8.2 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2026-48594

Published

Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-tesla tesla allows a denial of service via decompression bomb in HTTP response bodies. When Tesla.Middleware.DecompressResponse or Tesla.Middleware.Compression is included in a Tesla middleware pipeline, HTTP response bodies are decompressed eagerly with no size limit. The decompress_body/2 function in lib/tesla/middleware/compression.ex passes the entire response body to :zlib.gunzip/1 or :zlib.unzip/1 without any cap on the output size. Additionally, compression_algorithms/1 splits the content-encoding header on commas and decompress_body/2 recurses once per token, applying a decompression pass on each iteration. A server advertising content-encoding: gzip, gzip, gzip, gzip causes four recursive decompression passes, yielding exponential amplification: each gzip layer can expand its input roughly 1000x, so a payload of a few hundred bytes on the wire inflates to gigabytes of BEAM heap, exhausting memory and crashing or freezing the calling process. This issue affects tesla: from 0.6.0 before 1.18.3.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-48594

Published

tesla

https://repo.hex.pm

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "collectionURL": "https://repo.hex.pm",
                    "cpes": [
                        "cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.Tesla.Middleware.Compression'",
                        "'Elixir.Tesla.Middleware.DecompressResponse'"
                    ],
                    "packageName": "tesla",
                    "packageURL": "pkg:hex/tesla",
                    "product": "tesla",
                    "programFiles": [
                        "lib/tesla/middleware/compression.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.Tesla.Middleware.DecompressResponse':call/3"
                        },
                        {
                            "name": "'Elixir.Tesla.Middleware.Compression':call/3"
                        }
                    ],
                    "repo": "https://github.com/elixir-tesla/tesla",
                    "vendor": "elixir-tesla",
                    "versions": [
                        {
                            "lessThan": "1.18.3",
                            "status": "affected",
                            "version": "0.6.0",
                            "versionType": "semver"
                        }
                    ]
                }

elixir-tesla/tesla

https://github.com

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.Tesla.Middleware.Compression'",
                        "'Elixir.Tesla.Middleware.DecompressResponse'"
                    ],
                    "packageName": "elixir-tesla/tesla",
                    "packageURL": "pkg:github/elixir-tesla/tesla",
                    "product": "tesla",
                    "programFiles": [
                        "lib/tesla/middleware/compression.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.Tesla.Middleware.DecompressResponse':call/3"
                        },
                        {
                            "name": "'Elixir.Tesla.Middleware.Compression':call/3"
                        }
                    ],
                    "repo": "https://github.com/elixir-tesla/tesla",
                    "vendor": "elixir-tesla",
                    "versions": [
                        {
                            "lessThan": "340f75b5d191dc747ef7ac6365bd002d1cd55a9d",
                            "status": "affected",
                            "version": "5bd90bb5cf0d15e375edc2a66fa322292940fce2",
                            "versionType": "git"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 17 Nov 13:23 UTC · 274 of 275 readable · 250 fully read · 20 waiting for GitHub's hourly limit · documentation 469/469 current