The mail-parser library versions prior to 4.6.2 contain multiple issues related to handling of email headers from attacker-controlled input. These include uncaught exceptions caused by header names colliding with method names, silent loss or substitution of header values due to normalization and attribute lookup, and improper handling of 8-bit byte headers leading to serialization errors. These flaws can cause worker crashes or evasion of content detection without signaling defects. The issues were fixed in version 4.6.2 by changing header lookup to literal keys, proper initialization, and safer serialization.