Technical impact
mail-parser fails to catch an unexpected OverflowError or OSError when an attacker supplies a Received header with an out‑of‑range year or an excessive timezone offset. Those unhandled exceptions propagate out of the parsing logic, terminating the entire parse process and potentially discarding queued messages. The vulnerability therefore provides a denial‑of‑service impact for any system that relies on mail-parser to process incoming mail.
Affected Systems
The SpamScope mail-parser package, versions 3.7.0 up through 4.6.2 inclusive, is affected. The issue is resolved in release 4.6.3 and later.
Risk and Exploitability
The CVSS score of 5.3 indicates moderate severity, and the EPSS score is not available. The vulnerability is not listed in CISA’s KEV catalog. An attacker can trigger the flaw by crafting a Received header in an email that is received by an application that uses mail-parser; the malformed header causes an uncaught exception that aborts the parsing routine and may drop a batch of messages. The vulnerability can be triggered remotely through network traffic containing the malicious header, or locally by supplying a header to the parsing function. The exploit requires only a crafted email and does not rely on additional system privileges.