Skip to main content

mutt EUVDEUVD-2026-26896

| CVE-2026-43860 LOW
Off-by-one Error (CWE-193)
2026-05-04 mitre
3.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Network access to IMAP server
  2. Delivery
    Intercept CRAM-MD5 auth exchange
  3. Exploit
    Capture truncated 15-byte hash
  4. Execution
    Offline brute-force or table lookup
  5. Impact
    Potential 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mutt 0 <2.3.2

Affected Packages

euvd mutt fix: 2.3.2

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

NVD PRIMARY 3.7 LOW
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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch available
May 04, 2026 - 07:31 EUVD
Patch released
May 04, 2026 - 07:16 nvd
Patch available
CVE Published
May 04, 2026 - 05:45 nvd
LOW 3.7

DescriptionCVE.org

mutt before 2.3.2 sometimes truncates the hash_passwd by one byte for IMAP auth_cram MD5 digest.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Mutt

View all
CVE-2018-14362 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14359 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14358 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14357 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14356 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14354 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14353 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14352 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14351 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14350 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2018-14349 CRITICAL
9.8 Jul 17

An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. Rated critical severity (CVSS 9.8), this vu

CVE-2014-9116 MEDIUM POC
5.0 Dec 02

The write_one_header function in mutt 1.5.23 does not properly handle newline characters at the beginning of a header, w

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy