Security mailing lists by PureSourceCode

CVE-2026-48594

HIGH 8.2CVSS 4.0

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

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.

Published
2 Jun 2026
Last modified
26 Nov 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Modified
Weakness
CWE-409
Also known as
EEF-CVE-2026-48594GHSA-mc85-72gr-vm9f
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-48594JSONOSV GHSA-mc85-72gr-vm9fJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 HIGH 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
CVE List EEF CVSS 4.0 HIGH 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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD elixir-tesla tesla
cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*
>= 0.6.0, < 1.18.3 1.18.3
CVE List https://repo.hex.pm tesla
cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*
>= 0.6.0, < 1.18.3 1.18.3
CVE List https://github.com elixir-tesla/tesla
cpe:2.3:a:elixir-tesla:tesla:*:*:*:*:*:*:*:*
>= 5bd90bb5cf0d15e375edc2a66fa322292940fce2, < 340f75b5d191dc747ef7ac6365bd002d1cd55a9d 340f75b5d191dc747ef7ac6365bd002d1cd55a9d
OSV Hex tesla >= 0.6.0, < 1.18.3 1.18.3

References

History

  • 26 Nov 2026 18:37 UTC · OSV: updated (other details)
  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 2 Jun 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Jun 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 10 Jul 2026)
  • 25 Nov 2026 20:10 UTC · CVE List: first stored (published 2 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.