The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23943

CVE-2026-23943: Erlang OTP SSH Compression Bomb DoS Flaw

CVE-2026-23943 is a compression bomb denial of service vulnerability in Erlang OTP SSH that allows attackers to exhaust memory through highly compressed payloads. This post covers technical details, affected versions, and mitigation.

Published: March 20, 2026

CVE-2026-23943 Overview

CVE-2026-23943 is a Denial of Service vulnerability affecting Erlang OTP SSH modules caused by improper handling of highly compressed data (compression bomb). 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 attacks.

This vulnerability affects the ssh_transport modules in Erlang OTP, specifically the ssh_transport:decompress/2 and ssh_transport:handle_packet_part/4 routines in lib/ssh/src/ssh_transport.erl. Two compression algorithms are impacted with different attack surfaces:

  • zlib: Activates immediately after key exchange, enabling unauthenticated attacks
  • zlib@openssh.com: Activates post-authentication, enabling authenticated attacks

Each SSH packet can decompress approximately 255 MB from 256 KB of wire data, achieving a 1029:1 amplification ratio. Multiple packets can rapidly exhaust available memory, causing OOM kills in memory-constrained environments.

Critical Impact

Unauthenticated attackers can trigger memory exhaustion DoS on Erlang SSH servers with zlib compression enabled, requiring no credentials due to pre-authentication decompression.

Affected Products

  • Erlang OTP versions 17.0 through 28.4.1
  • Erlang OTP ssh versions 3.0.1 through 5.5.1
  • Systems using Erlang OTP ssh with zlib compression enabled (default configuration prior to patch)

Discovery Timeline

  • 2026-03-13 - CVE CVE-2026-23943 published to NVD
  • 2026-03-16 - Last updated in NVD database

Technical Details for CVE-2026-23943

Vulnerability Analysis

The vulnerability exists in how Erlang OTP's SSH implementation handles compressed data during the transport layer. The core issue is that the ssh_transport:decompress/2 function inflates incoming compressed payloads without enforcing any maximum decompressed size limit. This allows an attacker to craft specially designed compressed payloads that expand to enormous sizes when decompressed.

The zlib compression algorithm is particularly dangerous because it activates immediately after the SSH key exchange phase, before any authentication occurs. This means an attacker can initiate an SSH connection, complete the key exchange, and then begin sending malicious compressed packets without ever providing credentials. The zlib@openssh.com variant offers some protection since it only activates post-authentication, but authenticated users can still exploit it.

Root Cause

The root cause lies in CWE-409: Improper Handling of Highly Compressed Data (Compression Bomb). The vulnerable code path in ssh_transport.erl performs decompression without checking the resulting output size against any threshold. When processing incoming SSH packets, the handle_packet_part/4 routine calls the decompression function which blindly expands all compressed data into memory. The default algorithm configuration also included zlib in the enabled compression algorithms list, exposing servers to unauthenticated attacks by default.

Attack Vector

The attack is network-accessible and requires no authentication when targeting the zlib compression algorithm. An attacker establishes an SSH connection to a vulnerable Erlang OTP SSH server and completes the key exchange phase. During negotiation, if zlib compression is advertised and selected, the attacker can immediately begin sending compression bomb payloads.

The attack sequence involves:

  1. Connecting to the target SSH server
  2. Completing key exchange with zlib compression negotiated
  3. Sending multiple 256 KB compressed payloads
  4. Each payload decompresses to ~255 MB in server memory
  5. Repeated packets quickly exhaust available memory, triggering OOM conditions
text
// Security patch removing zlib from default compression algorithms
// Source: https://github.com/erlang/otp/commit/0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4

 	<list type="bulleted">
 	  <item>none</item>
 	  <item>zlib@openssh.com</item>
-	  <item>zlib</item>
 	</list>
+	<p>The following compression algorithm is disabled by default:</p>
+	<list>
+	  <item>(zlib)</item>
+	</list>
+	<p>It can be enabled with the
+	<seetype marker="ssh:ssh#preferred_algorithms_common_option">preferred_algorithms</seetype>
+	or
+	<seetype marker="ssh:ssh#modify_algorithms_common_option">modify_algorithms</seetype>
+	options.
+	</p>

The patch also adds explicit size checking after decompression:

text
// Security patch adding decompression size limit check
// Source: https://github.com/erlang/otp/commit/43a87b949bdff12d629a8c34146711d9da93b1b1

    {error, exceeds_max_decompressed_size} ->
            {Shutdown, D} =
                ?send_disconnect(?SSH_DISCONNECT_PROTOCOL_ERROR,
                                 "Bad packet: Size after decompression exceeds max size",
                                 StateName, D0),
            {stop, Shutdown, D}

Detection Methods for CVE-2026-23943

Indicators of Compromise

  • Unusual memory consumption spikes on systems running Erlang SSH servers
  • SSH connections that complete key exchange but fail authentication repeatedly while consuming significant memory
  • OOM (Out of Memory) killer events affecting Erlang BEAM processes
  • Abnormally large SSH packet sizes during decompression operations
  • High volume of SSH connections from single sources negotiating zlib compression

Detection Strategies

  • Monitor Erlang BEAM process memory usage for sudden unexplained growth patterns
  • Implement network-level detection for SSH sessions negotiating zlib compression followed by high data volume
  • Deploy application-level logging to track compression algorithm negotiation in SSH handshakes
  • Configure alerts for OOM events affecting SSH-related Erlang processes

Monitoring Recommendations

  • Enable detailed SSH session logging to capture compression algorithm negotiation
  • Set up memory threshold alerts for Erlang VM processes handling SSH connections
  • Monitor network traffic for SSH connections with disproportionate data transfer ratios
  • Implement rate limiting on incoming SSH connections per source IP

How to Mitigate CVE-2026-23943

Immediate Actions Required

  • Upgrade Erlang OTP to patched versions: 28.4.1, 27.3.4.9, or 26.2.5.18 (corresponding ssh versions: 5.5.1, 5.2.11.6, or 5.1.4.14)
  • If immediate patching is not possible, disable zlib compression in SSH configuration using preferred_algorithms or modify_algorithms options
  • Review SSH server configurations to verify compression settings
  • Monitor for exploitation attempts targeting SSH services

Patch Information

Security patches are available through three commits addressing different OTP release branches:

  • GitHub Commit 0c1c04b - OTP 26 maintenance branch
  • GitHub Commit 43a87b9 - OTP 27 maintenance branch
  • GitHub Commit 93073c3 - OTP 28 maintenance branch

The patches implement two key fixes: removing zlib from the default compression algorithms list and adding a maximum decompressed size check that disconnects clients with SSH_DISCONNECT_PROTOCOL_ERROR when exceeded.

For complete details, see the GitHub Security Advisory GHSA-c836-qprm-jw9r.

Workarounds

  • Disable zlib compression entirely by configuring SSH to use only none or zlib@openssh.com compression
  • Implement network-level rate limiting for SSH connections
  • Deploy resource limits (cgroups, ulimits) on Erlang BEAM processes to contain memory exhaustion impact
  • Use firewall rules to restrict SSH access to trusted networks only
erlang
% Disable vulnerable zlib compression in Erlang SSH configuration
% Use modify_algorithms to explicitly remove zlib from compression options
ssh:daemon(22, [
    {modify_algorithms, [
        {rm, [{compression, ['zlib']}]}
    ]}
]).

% Alternative: Use preferred_algorithms to specify only safe compression
ssh:daemon(22, [
    {preferred_algorithms, [
        {compression, [{client2server, [none, 'zlib@openssh.com']},
                       {server2client, [none, 'zlib@openssh.com']}]}
    ]}
]).

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechErlang

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-409
  • Technical References
  • GitHub Commit 0c1c04b

  • GitHub Commit 43a87b9

  • GitHub Commit 93073c3

  • GitHub Security Advisory GHSA-c836-qprm-jw9r

  • Erlang Documentation on Version Order
  • Related CVEs
  • CVE-2025-26618: Erlang/OTP SSH SFTP DoS Vulnerability

  • CVE-2026-23942: Erlang OTP Path Traversal Vulnerability

  • CVE-2025-32433: Erlang/OTP SSH Server RCE Vulnerability

  • CVE-2025-4748: Erlang OTP Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English