CVE-2026-48594 json
Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression
published 2026-06-02 5 mo ago modified 2026-09-24 45 d ago also EEF-CVE-2026-48594 , EUVD-2026-34015 , GHSA-mc85-72gr-vm9f
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- hex tesla 1.18.3
- elixir-tesla tesla 1.18.3
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/elixir-tesla/tesla/security/advisories/GHSA-mc85-72gr-vm9f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| hex | tesla | >=0.6.0, <1.18.3 |
1.18.3 |
Affected products
- elixir-tesla tesla
Classification
- Weakness
-
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
References
-
github.com
/elixir-tesla/tesla/commit/5bd90bb5cf0d15e375edc2a66fa322292940fce2
related, web
-
github.com
/elixir-tesla/tesla/commit/340f75b5d191dc747ef7ac6365bd002d1cd55a9d
patch, web
-
github.com
/elixir-tesla/tesla/security/advisories/GHSA-mc85-72gr-vm9f
vendor-advisory, related, exploit, web, advisory
-
cna.erlef.org
/cves/CVE-2026-48594.html
related, web, third-party-advisory
-
osv.dev
/vulnerability/EEF-CVE-2026-48594
related, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-48594
advisory
-
github.com
/elixir-tesla/tesla
package
-
hex.pm
/packages/tesla
package
Sources
- CVE List CVE-2026-48594
- GitHub Advisory GHSA-mc85-72gr-vm9f
- NVD CVE-2026-48594
- OSV EEF-CVE-2026-48594
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.