Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessNetwork access to IMAP server
-
DeliveryIntercept CRAM-MD5 auth exchange
-
ExploitCapture truncated 15-byte hash
-
ExecutionOffline brute-force or table lookup
-
ImpactPotential credential weakening
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
|
| Exploitation Conditions | Exploitation requires: (1) mutt must be configured to use IMAP with CRAM-MD5 authentication, not alternative methods like PLAIN or XOAUTH2; (2) the IMAP connection must not enforce TLS encryption (or the attacker must be in the TLS decryption path); (3) the user's MD5 password hash must contain specific byte patterns that trigger the truncation behavior-while the off-by-one error always removes one byte, practical exploitation depends on whether the hash value at position 15 differs meaningfully from the full 16-byte value in the HMAC computation. Additionally, the attacker must be able to observe or intercept the CRAM-MD5 challenge-response exchange in real time, not just capture it passively. Systems using modern IMAP authentication (PLAIN over TLS, XOAUTH2, Kerberos) are not affected. |
| Impact | The CVSS score of 3.7 reflects low impact: AV:N (network-accessible IMAP servers), AC:H (high complexity-requires specific binary conditions in the MD5 digest), PR:N (unauthenticated), UI:N (no user interaction), with Integrity impact only (I:L) and no confidentiality or availability impact. The low CVSS score aligns with the technical reality: truncating a 16-byte hash to 15 bytes degrades cryptographic strength, but MD5-CRAM is already considered weak by modern standards. The vulnerability does not enable password theft or authentication bypass in typical scenarios-an attacker would need to exploit the truncated hash during an active IMAP session, and the AC:H rating suggests this requires favorable conditions (e.g., a hash with a null byte at position 16, which is statistically rare but not impossible). The CWE-193 classification and Information Disclosure tagging suggest the real concern is leakage of authentication material rather than complete account compromise. No CISA KEV listing, no public POC identified, and no active exploitation reported indicate this is a low-priority patch issue. Organizations using mutt for IMAP authentication should prioritize this only if they operate in high-security environments where MD5-CRAM is still in use and threat modeling includes passive hash interception; most modern IMAP deployments use TLS/PLAIN or XOAUTH2, making this vulnerability tangential. |
| Exploit ScenarioDerived | An attacker on a network path between a mutt client and an IMAP server (via ARP spoofing, BGP hijacking, or ISP-level MITM) intercepts an IMAP CRAM-MD5 authentication exchange. If the target user's MD5 password hash contains a null byte at byte 16 (a rare but possible condition), mutt's strfcpy truncates the hash to 15 bytes before transmission. The attacker captures the truncated 15-byte hash and performs offline brute-force dictionary attacks or rainbow table lookups against this weakened credential, or performs a downgrade attack to force weaker authentication in a subsequent session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 04, 2026
mutt before version 2.3.2 truncates the IMAP CRAM-MD5 authentication hash by one byte due to incorrect use of strfcpy instead of memcpy, potentially allowing attackers to bypass or weaken authentication on IMAP connections through off-by-one string handling errors.
RemediationAI
Upgrade mutt to version 2.3.2 or later. The fix is available in upstream commit 834c5a2ed0479e51e8662a31caed129f136f4805 on GitHub (https://github.com/muttmua/mutt/commit/834c5a2ed0479e51e8662a31caed129f136f4805), which replaces the strfcpy call with memcpy in the hmac_md5 function. Users unable to upgrade immediately can mitigate by switching to alternative IMAP authentication methods supported by their mail server, such as PLAIN (over TLS), LOGIN, or XOAUTH2, rather than CRAM-MD5-this eliminates the attack surface entirely but requires reconfiguration of .muttrc authentication settings and server support for alternatives. Another mitigation is to restrict IMAP connections to servers enforcing TLS to prevent interception of the truncated hash during transit, though this does not fix the underlying cryptographic weakness.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
mutt is a text-based email client that supports IMAP authentication via the CRAM-MD5 mechanism, which uses an MD5 HMAC digest to authenticate users without transmitting passwords in cleartext. The vulnerability exists in the imap/auth_cram.c module's hmac_md5 function, specifically in how it copies the MD5 password hash into a buffer. The root cause is classified as CWE-193 (Off-by-one Error): the original code used strfcpy, a string copy function that treats the input as a null-terminated string and stops at the first null byte. MD5 digests are binary data (16 bytes) that may contain null bytes, causing premature truncation. The fix replaces strfcpy with memcpy, which copies a fixed number of bytes (MD5_DIGEST_LEN = 16) without null-byte interpretation, preserving the complete binary hash.
Know when Mutt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
mutt before 2.3.2 sometimes truncates the hash_passwd by one byte for IMAP auth_cram MD5 digest.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu
The write_one_header function in mutt 1.5.23 does not properly handle newline characters at the beginning of a header, w
EUVD-2026-26896
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB