Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-49394 Overview
CVE-2024-49394 affects the Mutt and NeoMutt terminal-based email clients. The In-Reply-To header field is excluded from the cryptographic signature coverage applied to signed messages. An attacker who possesses a legitimately signed but unencrypted message from a target can reuse that message in a new email thread by manipulating the In-Reply-To header. The result is that recipients see a signed, verified message appearing as a reply to a conversation the original sender never participated in, enabling sender impersonation within threaded discussions. The flaw is categorized under [CWE-347: Improper Verification of Cryptographic Signature].
Critical Impact
Attackers can reuse signed email content to impersonate the original sender within arbitrary email threads, undermining trust in S/MIME and PGP signatures.
Affected Products
- Mutt (upstream, all versions prior to fix)
- NeoMutt (upstream, versions prior to the fix in pull requests #4221 and #4227)
- Red Hat Enterprise Linux 8 and 9 distributions of Mutt
Discovery Timeline
- 2024-11-12 - CVE-2024-49394 published to the National Vulnerability Database
- 2026-06-26 - Last updated in NVD database
Technical Details for CVE-2024-49394
Vulnerability Analysis
Mutt and NeoMutt support cryptographic signing of outbound mail using S/MIME and OpenPGP. The signature calculation covers the message body and a defined subset of email headers. The In-Reply-To header, which establishes threading relationships between messages, falls outside that signed subset. Because the header is not bound to the signature, an attacker can take an existing signed message and present it inside a different conversation without invalidating the signature verification performed by the recipient's client.
The impact is limited to integrity of thread context rather than confidentiality or availability. A recipient trusting the signed origin may believe the sender is actively replying to a thread they have no knowledge of, which supports social engineering, business email compromise, and misattribution attacks.
Root Cause
The root cause is incomplete header coverage during signature generation and verification. Signed-message protection must bind all headers that influence recipient interpretation of the message. By omitting In-Reply-To from the signed material, the implementation allows an unauthenticated third party to alter conversational context while the cryptographic verification continues to succeed.
Attack Vector
The attack requires the adversary to obtain a prior unencrypted but signed message from the target sender. The attacker then re-mails that message to a victim after injecting or modifying the In-Reply-To header to reference a thread of the attacker's choosing. The recipient's Mutt or NeoMutt client validates the signature as authentic and renders the message as a reply within the attacker-selected conversation. No interaction with the original sender is needed, and no cryptographic material must be broken.
For technical references, see the Red Hat CVE-2024-49394 Advisory, GitHub Issue #4226 on Neomutt, and the fix in GitHub Pull Request #4221 on Neomutt.
Detection Methods for CVE-2024-49394
Indicators of Compromise
- Signed messages received where the In-Reply-To header references a Message-ID that does not exist in the recipient's or sender's prior mail history.
- Duplicate Message-ID values appearing across unrelated conversations from the same signing identity.
- Signed messages whose Date header predates the referenced parent message in the thread.
Detection Strategies
- Parse mail server logs and compare the In-Reply-To value against the signed message hash to flag reused signed payloads appearing in new threads.
- Correlate Message-ID, In-Reply-To, and References headers across the mail store to identify messages replayed into conversations the signer never engaged with.
- Alert on signed messages where the signature validates but the body text does not reference the thread subject or recent participants.
Monitoring Recommendations
- Enable verbose logging on mail transfer agents and secure email gateways to capture full header sets for signed inbound mail.
- Monitor for repeated delivery of identical signed message bodies with differing threading headers from distinct submission sources.
- Review user reports of unexpected replies from trusted correspondents, especially those arriving in sensitive business threads.
How to Mitigate CVE-2024-49394
Immediate Actions Required
- Update NeoMutt to a release containing the fixes merged via pull requests #4221 and #4227.
- Apply distribution-provided Mutt updates once Red Hat and other vendors publish patched packages per the Red Hat CVE-2024-49394 Advisory.
- Instruct users handling sensitive signed correspondence to treat thread context as unverified until clients are updated.
Patch Information
Upstream fixes for NeoMutt are tracked in GitHub Pull Request #4221 on Neomutt and GitHub Pull Request #4227 on Neomutt, with the underlying report in GitHub Issue #4226 on Neomutt. Red Hat tracks the fix in Red Hat Bug Report #2325330. Administrators should monitor these references for the specific commit identifiers and package versions applicable to their environment.
Workarounds
- Prefer encrypted-and-signed messages over sign-only messages, because encryption binds the ciphertext to the intended recipient and limits reuse.
- Advise senders to include thread-identifying content inside the signed body, so that mismatched thread context becomes visually apparent to recipients.
- Where feasible, require clients to display the raw In-Reply-To and References headers alongside the signature verification status for user review.
# Configuration example
# Verify installed NeoMutt version against upstream fixed release
neomutt -v | head -n 1
# On RHEL systems, check for a patched Mutt package once published
rpm -q mutt
dnf updateinfo info --cve CVE-2024-49394
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

