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-2026-26312

CVE-2026-26312: Stalwart Mail Server DoS Vulnerability

CVE-2026-26312 is a denial-of-service vulnerability in Stalwart Mail Server caused by malformed nested MIME parts that trigger excessive resource consumption and server crashes. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 20, 2026

CVE-2026-26312 Overview

A denial-of-service vulnerability exists in Stalwart Mail Server versions 0.13.0 through 0.15.4 that allows attackers to cause excessive CPU and memory consumption by crafting a specially malformed email. The vulnerability is triggered when accessing an email containing malformed nested message/rfc822 MIME parts via IMAP or JMAP protocols. This resource exhaustion can lead to an out-of-memory condition and complete server crash, disrupting mail services for all users.

Critical Impact

Authenticated attackers can crash the entire Stalwart Mail Server by sending a single malicious email, causing service disruption for all users relying on the mail system.

Affected Products

  • Stalwart Mail Server versions 0.13.0 through 0.15.4
  • Systems using the affected mail-parser crate for MIME parsing
  • Deployments exposing IMAP or JMAP interfaces to users

Discovery Timeline

  • 2026-02-19 - CVE CVE-2026-26312 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2026-26312

Vulnerability Analysis

This vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affects the email parsing logic in Stalwart Mail Server. The underlying issue stems from how the mail-parser crate handles malformed nested message/rfc822 MIME parts. When presented with a specially crafted email structure, the parser produces cyclical references in its parsed representation. Stalwart Mail Server then follows these references indefinitely when processing the email via IMAP or JMAP, leading to unbounded resource consumption.

The attack requires low-privileged access to submit or store an email on the target server, which the victim then accesses through IMAP or JMAP. Once triggered, the vulnerability causes the server process to consume all available CPU cycles and memory until the system either kills the process due to out-of-memory conditions or the administrator intervenes.

Root Cause

The root cause lies in the mail-parser crate's handling of nested message/rfc822 MIME parts. When parsing malformed email structures, the crate fails to detect and prevent cyclical references in the parsed representation. The Stalwart Mail Server then traverses these circular references without any safeguards or iteration limits, resulting in an infinite loop that exhausts system resources. This represents a classic case of insufficient input validation combined with missing resource consumption limits.

Attack Vector

The attack is conducted over the network and requires the attacker to have low-level privileges (such as a valid email account) to send or store an email on the target server. The exploitation flow involves:

  1. Attacker crafts an email with malformed nested message/rfc822 MIME parts designed to create cyclical parsing references
  2. The malicious email is delivered to or stored on the Stalwart Mail Server
  3. When any user (including the attacker) accesses this email via IMAP or JMAP, the vulnerable parsing logic is triggered
  4. The server enters an infinite loop following cyclical references, consuming CPU and memory
  5. The server crashes due to resource exhaustion, denying service to all users

No user interaction beyond normal email access is required to trigger the vulnerability once the malicious email is in place.

Detection Methods for CVE-2026-26312

Indicators of Compromise

  • Stalwart Mail Server processes exhibiting unexpectedly high CPU utilization (approaching 100%)
  • Rapid memory consumption growth in the mail server process
  • Server crashes or out-of-memory errors in system logs coinciding with IMAP/JMAP access
  • Emails with unusually deep or complex nested message/rfc822 MIME structures in mail queues

Detection Strategies

  • Monitor for anomalous resource consumption patterns in the Stalwart Mail Server process
  • Implement log analysis rules to detect repeated server crashes or restarts
  • Configure alerting for out-of-memory conditions on mail server hosts
  • Analyze incoming emails for unusually complex MIME structures before delivery

Monitoring Recommendations

  • Deploy resource monitoring on all Stalwart Mail Server instances with alerting thresholds for CPU and memory
  • Implement log aggregation and analysis to correlate crash events with email access patterns
  • Consider implementing rate limiting on IMAP/JMAP connections to slow potential exploitation

How to Mitigate CVE-2026-26312

Immediate Actions Required

  • Upgrade Stalwart Mail Server to version 0.15.5 or later immediately
  • Review recent server crashes for potential exploitation attempts
  • Consider temporarily restricting access to IMAP/JMAP services if upgrade cannot be performed immediately
  • Implement resource limits (cgroups, ulimits) on the mail server process as a defense-in-depth measure

Patch Information

The vulnerability has been addressed in Stalwart Mail Server version 0.15.5. Organizations running affected versions (0.13.0 through 0.15.4) should upgrade immediately. The patch addresses the cyclical reference handling in the mail-parser crate integration. For detailed patch information, refer to the GitHub Security Advisory.

Workarounds

  • Deploy the mail server within resource-constrained containers or cgroups to prevent complete system exhaustion
  • Implement network-level rate limiting on IMAP/JMAP ports
  • Configure process supervisors to automatically restart the mail server if it crashes, maintaining some level of service availability
  • Consider implementing email filtering upstream to detect and quarantine emails with suspicious MIME structures
bash
# Example: Configure systemd resource limits for Stalwart Mail Server
# Edit /etc/systemd/system/stalwart.service.d/override.conf
[Service]
MemoryMax=4G
CPUQuota=80%
Restart=always
RestartSec=5

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechStalwart

  • SeverityMEDIUM

  • CVSS Score6.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs 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