Email Parsing Vulnerability in SpamScope Mail Parser
CVE-2026-129295
7.5HIGH
What is CVE-2026-129295?
A vulnerability exists in the Mail Parser tool from SpamScope that allows for polynomial regex backtracking due to improperly handled email headers. When utilizing functions like parse_from_string, parse_from_bytes, or parse_from_file, crafted email headers can lead to significant performance degradation. This occurs because the library executes complex regex patterns without proper safeguards, leading to prolonged processing times for well-formed but malicious emails. This issue affects versions 4.2.0 through 4.6.1, and users are encouraged to upgrade to version 4.6.1 or later to mitigate this risk.
Affected Version(s)
mail-parser >= 4.2.0, < 4.6.1
