Skip to main content

Mutt EUVDEUVD-2026-26895

| CVE-2026-43859 LOW
Improper Neutralization of Null Byte or NUL Character (CWE-158)
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. Recon
    Attacker sets up malicious IMAP server
  2. Delivery
    User connects to Mutt with CRAM-MD5 enabled
  3. Exploit
    Server sends authentication challenge
  4. Install
    Mutt computes MD5 digest from password and challenge
  5. C2
    strfcpy truncates digest at first null byte
  6. Execute
    Attacker pre-computed response using truncated digest matches
  7. Impact
    Authentication succeeds with forged credentials
  8. Step 8
    Attacker gains mail access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Metacharacter neutralization
Exploitation Conditions

Exploitation requires: (1) IMAP CRAM-MD5 authentication must be enabled and attempted (not all mail servers or Mutt configurations use this method); (2) the attacker must either operate a malicious IMAP server the user connects to, or be positioned on-path to intercept and manipulate IMAP traffic; (3) the naturally occurring MD5 digest must contain a null byte at a position that reduces authentication security (the probability depends on the specific password and challenge, making this non-deterministic); (4) the targeted mail server must accept the truncated digest as valid authentication, which depends on server-side validation logic. In typical deployments, authenticated users with configured IMAP servers of their choice face minimal risk; users connecting to untrusted or user-specified servers face higher (though still complexity-limited) risk. Default Mutt configurations may or may not enable CRAM-MD5; this depends on compile-time options and mail server advertisement.

Impact

This vulnerability presents minimal real-world risk despite network-accessible attack vector. CVSS 3.7 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N) reflects high attack complexity (AC:H), indicating the attacker must satisfy difficult conditions - specifically, the MD5 digest must naturally contain a null byte in a position that causes meaningful truncation. The tag 'Information Disclosure' conflicts with the CVSS confidentiality impact (C:N), suggesting integrity compromise rather than confidentiality breach. The impact is limited to integrity (I:L), not system availability or core confidentiality. No EPSS score, KEV status, or public exploit availability reported; this is a 'quiet' vulnerability unlikely to be actively exploited in the wild. The attack requires either (1) the user to authenticate against a malicious IMAP server that crafts specific challenges, or (2) an on-path attacker to intercept and manipulate IMAP traffic. Defenders should assess Mutt's role in their environment: if IMAP is used only internally or with trusted servers, risk is negligible. For external or untrusted IMAP access, the AC:H barrier remains high.

Exploit ScenarioDerived

An attacker operates a malicious IMAP server and tricks a Mutt user into connecting (via misconfigured server list or phishing). When the server initiates CRAM-MD5 authentication, it sends a challenge crafted so that the resulting MD5 digest contains a null byte early in its byte sequence. Mutt's strfcpy truncates the digest at that null byte, shortening the authentication material. The attacker, knowing this truncation, pre-computes a response using the truncated digest and sends it, potentially allowing authentication bypass or credential forgery.

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 2.3.2 uses an unsafe string copy function (strfcpy) instead of memcpy when handling MD5 digest data in IMAP CRAM authentication, allowing attackers to potentially forge IMAP credentials by triggering buffer manipulation during the authentication handshake. The vulnerability requires manual connection attempt to a malicious IMAP server and affects network IMAP authentication flows, though the low CVSS score (3.7) reflects high attack complexity and integrity impact only.

RemediationAI

Upgrade Mutt to version 2.3.2 or later, which replaces the strfcpy call with memcpy in the IMAP CRAM-MD5 authentication function (commit 834c5a2ed0479e51e8662a31caed129f136f4805). Users unable to upgrade immediately should restrict IMAP authentication to trusted, internal mail servers and enable TLS/SSL encryption for all IMAP connections to reduce the attack surface. Disabling CRAM-MD5 authentication in favor of other mechanisms (PLAIN over TLS, OAuth2) is a workaround if the mail server supports alternatives, though this reduces authentication security if TLS is not enforced. The trade-off of disabling CRAM-MD5 is loss of a non-plaintext authentication option; verify server support before applying this mitigation.

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's IMAP CRAM-MD5 authentication mechanism uses strfcpy (a string-safe copy function designed to null-terminate strings) to copy binary MD5 digest data into a buffer. strfcpy interprets the digest data as a C string and stops copying at the first null byte encountered, potentially truncating the cryptographic hash. The correct function, memcpy, performs fixed-length binary copying without null-byte interpretation. The vulnerability resides in imap/auth_cram.c line 152 (per commit 834c5a2), where strfcpy was called on a 16-byte MD5 digest (MD5_DIGEST_LEN) that may contain null bytes. CWE-158 (Improper Neutralization of Null Byte or NUL Character) categorizes this flaw: the null bytes within the binary digest are incorrectly interpreted as string terminators, truncating the authentication material.

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:41 nvd
LOW 3.7

DescriptionCVE.org

mutt before 2.3.2 sometimes uses strfcpy instead of memcpy for the 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