CVE-2026-23943

Pre-auth SSH DoS via unbounded zlib inflate

State
Published
Severity
6.9 Medium
Published
Mar 13, 2026
Updated
Jul 24, 2026
Reserved
Jan 19, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NEEF

Weaknesses

  • CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)

Affected Products

ProductVersions
OTPErlang
  • 3.0.1 and laterAffectedfrom 5.5.1Not affectedfrom 5.2.11.6Not affectedfrom 5.1.4.14Not affected
OTPErlang
  • 17.0 and laterAffectedfrom 28.4.1Not affectedfrom 27.3.4.9Not affectedfrom 26.2.5.18Not affected
  • 07b8f441ca711f9812fad9e9115bab3c3aa92f79 and laterAffectedfrom 43a87b949bdff12d629a8c34146711d9da93b1b1Not affectedfrom 93073c3bd338c60cd2bae715ce6a1d4ffc1a8fd3Not affectedfrom 0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.