Skip to content

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

MediumCVSS 6.9 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
azure linux erlang(Azure Linux:3.0) < 26.2.5.18-1 26.2.5.18-1
cbl-mariner erlang(CBL-Mariner:2.0) < 25.3.2.21-5 25.3.2.21-5
ubuntu/erlang(Ubuntu:22.04) < 1:24.2.1+dfsg-1ubuntu0.8 1:24.2.1+dfsg-1ubuntu0.8
ubuntu/erlang(Ubuntu:24.04) < 1:25.3.2.8+dfsg-1ubuntu4.8 1:25.3.2.8+dfsg-1ubuntu4.8
ubuntu/erlang(Ubuntu:26.04) < 1:27.3.4.6+dfsg-1ubuntu0.2 1:27.3.4.6+dfsg-1ubuntu0.2
erlangotp >= 17.0, < 26.2.5.18 26.2.5.18
erlangotp >= 3.0.1, < 5.1.4.14 5.1.4.14
erlangotp >= 07b8f441ca711f9812fad9e9115bab3c3aa92f79, < 0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4 0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4
erlangotp >= 27.0, < 27.3.4.9 27.3.4.9
erlangotp >= 28.0, < 28.4.1 28.4.1
erlangssh >= 3.0.1, < 5.1.4.14 5.1.4.14
erlangssh >= 5.2, < 5.2.11.6 5.2.11.6
erlangssh >= 5.5, <= 5.5.1 No fix listed
debian/erlang(Debian:12) < 1:25.2.3+dfsg-1+deb12u4 1:25.2.3+dfsg-1+deb12u4
debian/erlang(Debian:12) = 1:25.2.3+dfsg-1 No fix listed
debian/erlang(Debian:12) = 1:25.2.3+dfsg-1+deb12u1 No fix listed
debian/erlang(Debian:12) = 1:25.2.3+dfsg-1+deb12u2 No fix listed
debian/erlang(Debian:12) = 1:25.2.3+dfsg-1+deb12u3 No fix listed
debian/erlang(Debian:13) < 1:27.3.4.1+dfsg-1+deb13u2 1:27.3.4.1+dfsg-1+deb13u2
debian/erlang(Debian:13) = 1:27.3.4.1+dfsg-1 No fix listed
debian/erlang(Debian:13) = 1:27.3.4.1+dfsg-1+deb13u1 No fix listed
debian/erlang(Debian:14) < 1:27.3.4.9+dfsg-1 1:27.3.4.9+dfsg-1
debian/erlang(Debian:14) = 1:27.3.4.1+dfsg-1 No fix listed
debian/erlang(Debian:14) = 1:27.3.4.3+dfsg-1 No fix listed
debian/erlang(Debian:14) = 1:27.3.4.4+dfsg-1 No fix listed
Show 2 more
ProductAffected versionsFixed in
debian/erlang(Debian:14) = 1:27.3.4.6+dfsg-1 No fix listed
debian/erlang(Debian:14) = 1:27.3.4.8+dfsg-1 No fix listed

References