CVE-2026-23943
Analyzed
Analyzed - Analysis Complete
Compression Bomb DoS in Erlang OTP ssh_transport Module
Publication date: 2026-03-13
Last updated on: 2026-05-21
Assigner: EEF
Description
Description
Improper Handling of Highly Compressed Data (Compression Bomb) vulnerability in Erlang OTP ssh (ssh_transport modules) allows Denial of Service via Resource Depletion.
The SSH transport layer advertises legacy zlib compression by default and inflates attacker-controlled payloads pre-authentication without any size limit, enabling reliable memory exhaustion DoS.
Two compression algorithms are affected:
* zlib: Activates immediately after key exchange, enabling unauthenticated attacks
* [email protected]: Activates post-authentication, enabling authenticated attacks
Each SSH packet can decompress ~255 MB from 256 KB of wire data (1029:1 amplification ratio). Multiple packets can rapidly exhaust available memory, causing OOM kills in memory-constrained environments.
This vulnerability is associated with program files lib/ssh/src/ssh_transport.erl and program routines ssh_transport:decompress/2, ssh_transport:handle_packet_part/4.
This issue affects OTP from OTP 17.0 until OTP 28.4.1, 27.3.4.9 and 26.2.5.18 corresponding to ssh from 3.0.1 until 5.5.1, 5.2.11.6 and 5.1.4.14.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| erlang | erlang/otp | From 17.0 (inc) to 26.2.5.18 (exc) |
| erlang | erlang/otp | From 27.0 (inc) to 27.3.4.9 (exc) |
| erlang | erlang/otp | From 28.0 (inc) to 28.4.1 (exc) |
| erlang | erlang/ssh | From 3.0.1 (inc) to 5.1.4.14 (exc) |
| erlang | erlang/ssh | From 5.2 (inc) to 5.2.11.6 (exc) |
| erlang | erlang/ssh | From 5.5 (inc) to 5.5.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-409 | The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output. |