CVE-2026-23943Pre-auth SSH DoS via unbounded zlib inflate
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | erlang | Fixed | 1:27.3.4.6+dfsg-1ubuntu0.2 | UBUNTU-CVE-2026-23943 |
| Ubuntu 25.10 | erlang | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-23943 | |
| Ubuntu 24.04 | erlang | Fixed | 1:25.3.2.8+dfsg-1ubuntu4.8 | UBUNTU-CVE-2026-23943 |
| Ubuntu 22.04 | erlang | Fixed | 1:24.2.1+dfsg-1ubuntu0.8 | UBUNTU-CVE-2026-23943 |
| Ubuntu 20.04 | erlang | Fix pending | 1:22.2.7+dfsg-1ubuntu0.5+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-23943 |
| Ubuntu 18.04 | erlang | Fix pending | 1:20.2.2+dfsg-1ubuntu2+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-23943 |
| Ubuntu 16.04 | erlang | Fix pending | 1:18.3-dfsg-1ubuntu3.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-23943 |
| Ubuntu 14.04 | erlang | Fix pending | 1:16.b.3-dfsg-1ubuntu2.2+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-23943 |
| Debian 14 | erlang | Fixed | 1:27.3.4.9+dfsg-1 | DEBIAN-CVE-2026-23943 |
| Debian 13 | erlang | Fixed | 1:27.3.4.1+dfsg-1+deb13u2 | DEBIAN-CVE-2026-23943 |
| Debian 12 | erlang | Fixed | 1:25.2.3+dfsg-1+deb12u4 | DEBIAN-CVE-2026-23943 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 3.0.1 and later; fixed in
5.1.4.14,5.2.11.6,5.5.1 - Erlang OTP: affected: 17.0 and later; fixed in
26.2.5.18,27.3.4.9,28.4.1 - Erlang OTP: affected: 07b8f441ca711f9812fad9e9115bab3c3aa92f79 and later; fixed in
0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4,43a87b949bdff12d629a8c34146711d9da93b1b1,93073c3bd338c60cd2bae715ce6a1d4ffc1a8fd3
Workaround: Best workaround - Disable all compression: {preferred_algorithms, [{compression, ['none']}]} Alternative mitigations (less secure): * Disable only pre-auth zlib compression (authenticated users can still exploit via zlib@openssh.com): {modify_algorithms, [{rm, [{compression, ['zlib']}]}]} * Limit concurrent sessions (reduces attack surface but does not prevent exploitation): {max_sessions, N} % Cap total concurrent sessions (default is infinity)
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-c836-qprm-jw9r (vendor-advisory)
- https://github.com/erlang/otp/commit/0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4 (patch)
- https://github.com/erlang/otp/commit/43a87b949bdff12d629a8c34146711d9da93b1b1 (patch)
- https://github.com/erlang/otp/commit/93073c3bd338c60cd2bae715ce6a1d4ffc1a8fd3 (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-c836-qprm-jw9r
- https://cna.erlef.org/cves/CVE-2026-23943.html
- https://osv.dev/vulnerability/EEF-CVE-2026-23943
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79
- https://github.com/erlang/otp/commit/0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4
- https://github.com/erlang/otp/commit/43a87b949bdff12d629a8c34146711d9da93b1b1
- https://github.com/erlang/otp/commit/93073c3bd338c60cd2bae715ce6a1d4ffc1a8fd3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.