Smuggling Identities: Abusing MIME Header Parsing Across Major Email Providers

No ratings

Presented at DEF CON Singapore 2026 by

Our recent research reveals a new class of email spoofing attacks that exploit inconsistencies in the parsing of Internet Message Format headers (RFC 5322, updated by RFC 6854) across modern email infrastructure. We demonstrate that message headers (MIME headers), in particular the From header, can be crafted in ways that cause outbound and inbound SMTP servers—and their associated mail clients—to disagree on the effective sender identity. As a result, attackers can deliver spoofed emails that appear to originate from trusted sources while successfully bypassing contemporary email security controls, including authentication and anti-spoofing mechanisms. In this talk, we present a systematic analysis of these parsing discrepancies and show how they can be reliably weaponized to achieve large-scale, provider-agnostic spoofing. We empirically demonstrate that this issue could allow threat actors to spoof emails from millions of valid addresses associated with major providers such as Gmail, Outlook, iCloud, Fastmail, and Proton Mail. We will walk through concrete attack scenarios, discuss root causes in protocol and implementation behavior, and explain why existing defenses fail to detect or block these messages. Finally, we outline practical mitigation strategies .