CVE-2026-23943: Pre-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 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.
Security readout for executives and security teams
Plain-English summary
Erlang/OTP’s SSH service can expand small compressed network packets into very large memory allocations. With legacy zlib compression, a remote attacker can trigger this before authentication, potentially exhausting memory, terminating the service, or causing system-level out-of-memory kills. The issue affects a broad range of OTP releases beginning with OTP 17.0.
Executive priority
Prioritize internet-facing or broadly reachable Erlang SSH services, especially on memory-limited infrastructure. Although rated medium with CVSS 4.0 score 6.9, pre-authentication resource exhaustion can interrupt availability. Patch exposed systems promptly; handle isolated or non-SSH deployments through normal risk-based maintenance after confirming exposure.
Technical view
The SSH transport decompresses attacker-controlled data without an output-size limit. A 256 KB packet may inflate to approximately 255 MB, a reported 1029:1 ratio. Legacy zlib is exploitable after key exchange but before authentication; zlib@openssh.com requires authentication. Affected logic includes ssh_transport:decompress/2 and ssh_transport:handle_packet_part/4.
Likely exposure
Exposure is highest where an affected Erlang/OTP SSH listener is reachable from untrusted networks and negotiates legacy zlib compression. Memory-constrained containers, appliances, and hosts may fail rapidly. Applications using Erlang/OTP without its SSH service, or running listed fixed versions, are not shown by the supplied evidence to be exposed.
Exploitation context
The attack requires network access and low complexity, with no privileges or user interaction for legacy zlib. Multiple compressed packets can cause reliable memory exhaustion. The supplied bundle reports no CISA KEV listing and provides no evidence of active exploitation in the wild as of its July 24, 2026 update.
Researcher notes
CWE-409 applies. The vulnerable files and routines are identified, and three upstream patch commits are supplied. The bundle’s affected-version metadata is less clear for obsolete branches; use the vendor advisory and Erlang version-ordering rules when evaluating exact releases. No confidentiality or integrity impact is reported.
Mitigation direction
Upgrade OTP 28 to 28.4.1 or later.
Upgrade OTP 27 to 27.3.4.9 or later.
Upgrade OTP 26 to 26.2.5.18 or later.
For other affected branches, follow the Erlang advisory and move to a supported fixed release.
Until upgraded, restrict affected SSH listeners to trusted networks and monitor memory pressure.
Validation and detection
Inventory Erlang/OTP and bundled ssh application versions across servers, containers, appliances, and embedded products.
Identify whether the Erlang SSH service is enabled and reachable from untrusted networks.
Confirm deployed versions meet the applicable fixed-release threshold stated in the vendor advisory.
Review telemetry for memory spikes, out-of-memory kills, crashes, or repeated restarts involving Erlang SSH services.
Validate remediation through version inspection and safe functional SSH testing without compressed attack traffic.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-409: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-409 · source CWE mapping
Improper Handling of Highly Compressed Data (Data Amplification)
Improper Handling of Highly Compressed Data (Data Amplification) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.