mail-parser versions 4.2.0 through 4.6.0 are vulnerable to polynomial Regular Expression Denial of Service (ReDoS) attacks during email header parsing. Two specific regex patterns used in parsing address headers and Received headers cause excessive CPU consumption on crafted inputs with large whitespace padding, leading to denial of service. The vulnerability affects all six address headers and Received headers, allowing small emails to exhaust parsing resources. The issue is fixed in version 4.6.1.