Pre-auth SSH DoS via unbounded zlib inflate
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Erlang/OTP 26.2.5.18, Erlang/OTP 27.3.4.9, Erlang/OTP 28.4.1 and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Erlang | Erlang/OTP | >=17.0 <26.2.5.18, >=27.0 <27.3.4.9, >=28.0 <28.4.1 | 26.2.5.18, 27.3.4.9, 28.4.1 |
| Erlang | OTP | =3.0.1, =07b8f441ca711f9812fad9e9115bab3c3aa92f79, =17.0 | * |
| Erlang | erlang\/ssh | >=3.0.1 <5.1.4.14, >=5.2 <5.2.11.6, >=5.5 <=5.5.1 | 5.1.4.14, 5.2.11.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Erlang/OTP, strongest first
Embed
A live severity badge for an advisory, README or ticket