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-2026-107570 Overview
CVE-2026-107570 is a heap out-of-bounds write vulnerability in the Mutt email client. The flaw resides in the convert_file_from_to() function and is triggered through a crafted Content-Type header when an email message is used as a template. An attacker who can supply a specially formed message consumed as a template can cause an out-of-bounds write on the heap. The issue is tracked under [CWE-823: Use of Out-of-range Pointer Offset] and was published to the National Vulnerability Database on 2026-10-08.
Critical Impact
Local, user-interaction-dependent heap memory corruption that can affect integrity of the Mutt process when a crafted email is used as a message template.
Affected Products
- Mutt mail user agent (muttmua/mutt) — see upstream GitLab Mutt Work Item #533
- Downstream Linux distributions packaging affected Mutt versions
- Environments where users compose mail from an existing message used as a template
Discovery Timeline
- 2026-10-08 - CVE-2026-107570 published to NVD
- 2026-10-09 - Public disclosure via Openwall oss-security
- 2026-10-10 - Last updated in NVD database
Technical Details for CVE-2026-107570
Vulnerability Analysis
The defect occurs in convert_file_from_to(), a Mutt internal routine responsible for converting message body content between character sets described by the Content-Type header. When Mutt reuses an existing email as a template for a new message, the routine parses attacker-controlled header fields to determine source and target encodings.
A malformed or carefully crafted Content-Type parameter causes the function to compute an invalid pointer offset into a heap buffer and perform a write beyond the allocated bounds. This matches [CWE-823] semantics: an untrusted input influences a pointer offset outside the intended range of a memory object.
Exploitation requires local access and user interaction, specifically the victim opening or forwarding the crafted email as a template. The scope of impact is limited to integrity of the Mutt process; confidentiality and availability are not directly affected per the published metrics.
Root Cause
The root cause is insufficient validation of character-set and parameter data supplied in the Content-Type header before using it to index or offset into a heap allocation. The conversion path assumes well-formed input and does not clamp or bounds-check the derived offset.
Attack Vector
An attacker crafts an email containing a malicious Content-Type header and delivers it to the victim. When the victim composes a new message using that email as a template, Mutt invokes convert_file_from_to() against the attacker-supplied header, triggering the out-of-bounds write.
No proof-of-concept code is published alongside the advisory. Technical specifics are available in the upstream GitLab Mutt Work Item #533 and the Openwall oss-security post.
Detection Methods for CVE-2026-107570
Indicators of Compromise
- Unexpected crashes or abnormal termination of the mutt process during message composition or template use
- Core dumps referencing convert_file_from_to or related MIME/iconv conversion frames
- Received emails containing malformed or unusually long Content-Type parameters, especially non-standard charset= values
Detection Strategies
- Inspect mail-server logs and mail archives for messages with anomalous Content-Type headers prior to delivery to Mutt users
- Enable AddressSanitizer or similar heap instrumentation on Mutt builds in test environments to surface out-of-bounds writes against sample inputs
- Monitor endpoint telemetry for unexpected child processes or memory faults originating from mutt sessions
Monitoring Recommendations
- Alert on repeated segmentation faults of mutt across multiple hosts, which may indicate exploitation attempts
- Capture and retain suspicious messages flagged by mail gateways for offline analysis
- Track installed Mutt package versions across the fleet to identify unpatched hosts
How to Mitigate CVE-2026-107570
Immediate Actions Required
- Identify all systems with Mutt installed and inventory package versions
- Apply vendor-supplied security updates as soon as distribution packages are available
- Advise users to avoid composing new messages using untrusted received emails as templates until patched
Patch Information
Upstream tracking is maintained in GitLab Mutt Work Item #533. Monitor your Linux distribution's security advisories for packaged fixes and apply updates through the standard package manager once released.
Workarounds
- Do not use untrusted inbound emails as the basis for new messages via Mutt's template functionality
- Filter or sanitize messages with malformed Content-Type headers at the mail gateway before delivery
- Run Mutt in a restricted user account to limit the blast radius of any process-level corruption
# Example: check installed Mutt version on Debian/Ubuntu and RHEL/CentOS
dpkg -l | grep -i mutt
rpm -q mutt
# Example procmail rule to quarantine messages with suspicious Content-Type parameters
:0:
* ^Content-Type:.*charset=.{200,}
quarantine/
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

