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
    • AI 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-43859

CVE-2026-43859: Mutt IMAP Privilege Escalation Vulnerability

CVE-2026-43859 is a privilege escalation vulnerability in Mutt email client affecting versions before 2.3.2 due to improper string handling in IMAP authentication. This article covers technical details, impact, and mitigation.

Published: May 7, 2026

CVE-2026-43859 Overview

CVE-2026-43859 affects the mutt email client in versions before 2.3.2. The vulnerability stems from incorrect string handling in the IMAP CRAM-MD5 authentication routine. Specifically, mutt sometimes uses strfcpy instead of memcpy when copying the MD5 digest of a long shared secret in imap/auth_cram.c.

Because strfcpy treats the source as a null-terminated string, any null byte (0x00) inside the binary MD5 digest causes premature truncation. This weakens the authentication digest entropy and maps to [CWE-158] (Improper Neutralization of Null Byte or NUL Character).

Critical Impact

An attacker positioned to observe IMAP authentication exchanges may exploit reduced digest entropy to compromise integrity of the CRAM-MD5 challenge-response when secrets longer than the MD5 block length are used.

Affected Products

  • mutt versions prior to 2.3.2
  • IMAP auth_cram MD5 authentication code path in imap/auth_cram.c
  • Deployments using IMAP CRAM-MD5 authentication with shared secrets longer than MD5_BLOCK_LEN

Discovery Timeline

  • 2026-05-04 - CVE-2026-43859 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-43859

Vulnerability Analysis

The defect resides in the IMAP CRAM-MD5 authentication implementation in imap/auth_cram.c. When the configured shared secret exceeds MD5_BLOCK_LEN (64 bytes), mutt first hashes the secret with md5_buffer() and stores the resulting 16-byte binary digest in hash_passwd. The code then copies that digest into the secret buffer used for the HMAC-style inner/outer pad computation.

The flawed implementation calls strfcpy(), a string-copy helper that stops at the first null byte. Binary MD5 output frequently contains embedded 0x00 bytes. When that occurs, the copied secret is truncated at the first null byte, and the remaining bytes of the secret buffer retain prior or zeroed contents.

The result is reduced effective key entropy in the CRAM-MD5 challenge response. Practical exploitation requires network-adjacent positioning and conditions that lower attack complexity, which is reflected in the low-impact integrity scoring.

Root Cause

The root cause is the misuse of a null-terminated string copy primitive on binary cryptographic data. strfcpy() is appropriate for C strings but unsafe for fixed-length binary buffers such as MD5 digests. The fix replaces it with memcpy(), which copies a specified number of bytes regardless of content.

Attack Vector

The attack vector is network-based and requires high attack complexity. An adversary must observe or interact with IMAP CRAM-MD5 authentication where the configured secret is longer than 64 bytes. The integrity of the digest is the primary asset affected; confidentiality and availability are not impacted per the CVSS vector.

c
// Patch from imap/auth_cram.c (mutt commit 834c5a2)
   if (secret_len > MD5_BLOCK_LEN)
   {
     md5_buffer (password, secret_len, hash_passwd);
-    strfcpy ((char*) secret, (char*) hash_passwd, MD5_DIGEST_LEN);
+    memcpy(secret, hash_passwd, MD5_DIGEST_LEN);
     secret_len = MD5_DIGEST_LEN;
   }
   else
// Source: https://github.com/muttmua/mutt/commit/834c5a2ed0479e51e8662a31caed129f136f4805

The patch swaps strfcpy for memcpy, ensuring all 16 bytes of the binary MD5 digest are copied into secret regardless of any embedded null bytes.

Detection Methods for CVE-2026-43859

Indicators of Compromise

  • IMAP client connections originating from hosts running mutt versions earlier than 2.3.2 against authentication-sensitive mail servers.
  • Repeated CRAM-MD5 authentication failures from mutt clients, which can indicate digest truncation when long shared secrets are configured.
  • Presence of unpatched mutt binaries with the vulnerable auth_cram.c code path on workstations and shared servers.

Detection Strategies

  • Inventory installed mutt packages across managed Linux and macOS hosts and flag versions below 2.3.2.
  • Audit IMAP server logs for CRAM-MD5 authentication patterns from clients identifying as mutt in user-agent or connection metadata.
  • Use software composition analysis to detect builds of mutt derived from the muttmua/mutt source tree prior to commit 834c5a2.

Monitoring Recommendations

  • Monitor outbound IMAP traffic to non-corporate mail providers from endpoints running command-line mail clients.
  • Alert on authentication anomalies on mail servers that support CRAM-MD5, including repeated failures correlated with specific source hosts.
  • Track package management events (apt, dnf, brew, pkg) installing or upgrading mutt to confirm patched versions are deployed.

How to Mitigate CVE-2026-43859

Immediate Actions Required

  • Upgrade mutt to version 2.3.2 or later on all affected systems.
  • Where upgrade is not immediate, prefer IMAP authentication mechanisms other than CRAM-MD5, such as SASL PLAIN over TLS or OAuth2 where supported.
  • Rotate any IMAP credentials longer than 64 bytes that have been used with vulnerable mutt builds.

Patch Information

The upstream fix is available in the muttmua/mutt commit 834c5a2, which replaces the strfcpy call with memcpy in imap/auth_cram.c. Distributors should rebuild mutt against the patched source and ship it as a security update. Versions 2.3.2 and later contain the fix.

Workarounds

  • Configure mutt to use shared IMAP secrets shorter than MD5_BLOCK_LEN (64 bytes), which avoids the vulnerable code branch entirely.
  • Disable CRAM-MD5 in mutt configuration and require TLS-protected PLAIN or LOGIN authentication on the server side.
  • Restrict outbound IMAP traffic from endpoints to known, trusted mail servers using TLS to reduce exposure to passive observers.
bash
# Verify installed mutt version is patched
mutt -v | head -n 1

# Debian / Ubuntu
sudo apt update && sudo apt install --only-upgrade mutt

# Fedora / RHEL
sudo dnf upgrade mutt

# Optional: prefer non-CRAM-MD5 auth in ~/.muttrc
# set imap_authenticators="oauthbearer:plain"

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMutt

  • SeverityLOW

  • CVSS Score3.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-158
  • Technical References
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-43864: Mutt NULL Pointer Dereference Flaw

  • CVE-2026-43862: Mutt IMAP Auth Bypass Vulnerability

  • CVE-2026-43863: Mutt Email Client DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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