draft-chen-email-mime-ambiguity-defense

Defensive Handling of MIME Parsing Ambiguities in Email Delivery

groupnone stateactive pages11 rev00 expires2026-09-17 canonicalhttps://datatracker.ietf.org/doc/draft-chen-email-mime-ambiguity-defense/
Email security gateways and endpoint mail clients frequently rely on different MIME parsers, decoders, and error-recovery behavior. An attacker can exploit those differences so that a security control fails to extract or scan an attachment that a downstream client later exposes to a user. This document describes defensive processing guidance for SMTP receivers, mail gateways, and message stores that handle MIME messages with malformed or ambiguous structure. This document provides operational guidance for ingress validation, strict decoding floors, ambiguity detection, multi-view extraction, union scanning, logging, and policy handling. It also defines an optional "MIME-Ambiguity-Results" header field for conveying receiver-generated ambiguity assessments to downstream components inside an administrative domain.