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
    • 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-2025-26618

CVE-2025-26618: Erlang/OTP SSH SFTP DoS Vulnerability

CVE-2025-26618 is a denial of service vulnerability in Erlang/OTP SSH SFTP that allows authenticated users to cause excessive memory allocation. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-26618 Overview

CVE-2025-26618 is a memory exhaustion vulnerability affecting the Erlang OTP (Open Telecom Platform) SSH library's SFTP implementation. The vulnerability stems from improper packet size verification for SFTP packets, which can allow authenticated attackers to cause excessive memory allocation on affected systems. When multiple SSH packets conforming to the maximum SSH packet size are received, they may be combined into an SFTP packet that exceeds the maximum allowed packet size, potentially triggering large memory allocations and leading to denial of service conditions.

Critical Impact

Authenticated attackers can exploit this vulnerability to cause memory exhaustion on systems running vulnerable Erlang OTP versions, potentially leading to service disruption of applications relying on the SSH/SFTP functionality.

Affected Products

  • Erlang OTP versions prior to 27.2.4
  • Erlang OTP versions prior to 26.2.5.9
  • Erlang OTP versions prior to 25.3.2.18

Discovery Timeline

  • February 20, 2025 - CVE CVE-2025-26618 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2025-26618

Vulnerability Analysis

This vulnerability is classified under CWE-789 (Memory Allocation with Excessive Size Value), which describes scenarios where software allocates memory based on an untrusted size value without properly validating that the size falls within expected limits. In the context of Erlang OTP's SSH/SFTP implementation, the SFTP subsystem fails to properly validate the aggregate size of SFTP packets when multiple SSH packets are combined.

The exploitation requires successful authentication, meaning an attacker must first complete the SSH handshake before being able to trigger the vulnerability. This constraint limits the attack surface to authenticated users, though it still poses a significant risk in multi-tenant environments or systems with compromised credentials.

Root Cause

The root cause lies in the ssh_sftpd.erl module within the Erlang OTP SSH library. The code did not properly enforce packet size limits when processing SFTP packets that were assembled from multiple underlying SSH packets. While individual SSH packets respected maximum size constraints, the combined SFTP packet could exceed safe memory allocation limits, leading to potential resource exhaustion.

Attack Vector

The attack is network-based and requires low privileges (authenticated session). An attacker with valid SSH credentials can send specially crafted sequences of SSH packets that, when combined by the SFTP subsystem, result in an oversized SFTP packet. This triggers memory allocation operations that can exhaust available system memory, affecting not only the SSH service but potentially the entire host system's stability.

The attack requires network access to the SSH service and successful authentication. The vulnerability specifically impacts the SFTP subsystem, so systems that expose SSH with SFTP functionality are at risk.

text
-behaviour(ssh_server_channel).
 
 -include_lib("kernel/include/file.hrl").
-
+-include_lib("kernel/include/logger.hrl").
 -include("ssh.hrl").
 -include("ssh_xfer.hrl").
 -include("ssh_connect.hrl"). %% For ?DEFAULT_PACKET_SIZE and ?DEFAULT_WINDOW_SIZE

Source: GitHub Commit Update

The patch adds logger functionality and implements proper packet size validation to reject SFTP packets that exceed the defined limits.

Detection Methods for CVE-2025-26618

Indicators of Compromise

  • Unusual memory consumption spikes on systems running Erlang OTP SSH services
  • SSH/SFTP service crashes or restarts due to out-of-memory conditions
  • Log entries indicating oversized packet processing or memory allocation failures in SSH-related processes
  • Abnormal patterns of authenticated SSH sessions with unusual traffic characteristics

Detection Strategies

  • Monitor memory usage metrics for Erlang BEAM processes hosting SSH services
  • Implement alerting on rapid memory growth following SSH authentication events
  • Review SSH server logs for patterns of large packet sequences from single authenticated sessions
  • Deploy network monitoring to identify anomalous SSH traffic patterns that may indicate exploitation attempts

Monitoring Recommendations

  • Configure resource limits for Erlang processes to contain potential memory exhaustion attacks
  • Enable verbose logging for SSH/SFTP subsystems to capture packet processing anomalies
  • Implement real-time memory monitoring dashboards for critical systems running Erlang OTP
  • Set up automated alerts for SSH service restarts or memory-related failures

How to Mitigate CVE-2025-26618

Immediate Actions Required

  • Upgrade Erlang OTP to patched versions: 27.2.4, 26.2.5.9, or 25.3.2.18 depending on your branch
  • Review and restrict SSH access to only necessary users and networks
  • Implement resource limits (memory cgroups) for Erlang processes as a temporary defensive measure
  • Monitor systems for signs of exploitation while planning upgrade activities

Patch Information

The Erlang OTP team has released security patches in versions 27.2.4, 26.2.5.9, and 25.3.2.18. The fix implements proper packet size validation in the SFTP subsystem to reject packets exceeding the defined limits. The patch commit (0ed2573cbd55c92e9125c9dc70fa1ca7fed82872) adds logger functionality and enforces size constraints on SFTP packet processing.

For detailed patch information, refer to the GitHub Security Advisory and the Erlang OTP Release Notes. Debian users should consult the Debian LTS Announcement for distribution-specific updates.

Workarounds

  • No official workarounds are available for this vulnerability; patching is the recommended remediation
  • Restrict SSH/SFTP access to trusted networks and users through firewall rules as a compensating control
  • Consider temporarily disabling SFTP functionality if not required until patches can be applied
  • Implement memory resource limits at the container or cgroup level to minimize impact of potential exploitation
bash
# Verify current Erlang OTP version
erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell

# Check for patched versions available in package manager (example for Debian/Ubuntu)
apt-cache policy erlang

# Apply resource limits via systemd for Erlang services
# Add to service unit file [Service] section:
# MemoryMax=2G
# MemoryHigh=1.5G

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechErlang

  • SeverityHIGH

  • CVSS Score7.0

  • EPSS Probability0.27%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/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
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-789
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory

  • Debian LTS Announcement

  • Erlang OTP Release Notes
  • Related CVEs
  • CVE-2026-23943: Erlang OTP SSH Compression Bomb DoS Flaw

  • 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