6.9Medium

CVE-2026-23943Pre-auth SSH DoS via unbounded zlib inflate

Erlang OTP Published: (8 months ago)

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 * zlib@openssh.com: 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 before OTP 26.2.5.18, OTP 27.3.4.9, and OTP 28.4.1, corresponding to ssh from 3.0.1 before 5.1.4.14, 5.2.11.6, and 5.5.1.

Weakness (CWE): CWE-409

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
erlang erlang/otp 17.0 – < 26.2.5.18
erlang erlang/ssh 3.0.1 – < 5.1.4.14
Erlang OTP 17.0

References and patches

CPE matches (NVD) (6)

  • cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* ≥ 17.0 < 26.2.5.18
  • cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* ≥ 27.0 < 27.3.4.9
  • cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* ≥ 28.0 < 28.4.1
  • cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:* ≥ 3.0.1 < 5.1.4.14
  • cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:* ≥ 5.2 < 5.2.11.6
  • cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:* ≥ 5.5 ≤ 5.5.1