Skip to main content

Mail Parser

6 CVEs product

Monthly

CVE-2026-129297 Nov 16, 17:39 PyPI HIGH POC PATCH GHSA This Week

Sender IP address spoofing in SpamScope mail-parser through 4.6.1 allows unauthenticated remote attackers who control email headers to make get_server_ipaddress() return an attacker-chosen IP, misleading applications that use that value for sender attribution or blocklisting. The flaw is CWE-345 and is fixed in 4.6.2; exploitation requires the consuming application to parse attacker-supplied email and trust the returned address. No public exploit identified at time of analysis, and the vendor notes there is no in-library workaround.

Python Information Disclosure Mail Parser
NVD GitHub
CVSS 3.1
7.5
EPSS
0.2%
CVE-2026-129295 Nov 16, 17:32 PyPI HIGH POC PATCH GHSA This Week

Polynomial regular-expression backtracking in SpamScope mail-parser 4.2.0 through 4.6.0 lets remote attackers stall mail-processing workers with a single small, well-formed message, causing availability-only denial of service. Parsing is unauthenticated by nature (CVSS PR:N/UI:N, AV:N) and the blowup is reached through ordinary parse_from_string(), parse_from_bytes() or parse_from_file() calls with no special option or malformed structure required; a crafted but RFC 5322-compliant header carrying a long whitespace run can keep a gateway, ticketing, quarantine or archival worker busy for minutes to hours. No public exploit code has been identified at time of analysis - the vendor advisory provides measured timing tables rather than weaponized payloads - and the issue is a 'this_week' priority item rather than an emergency, fixed by upgrading to 4.6.1.

Denial Of Service Python Red Hat Mail Parser
NVD GitHub
CVSS 3.1
7.5
EPSS
0.5%
CVE-2026-129301 Nov 16, 17:47 PyPI MEDIUM POC PATCH GHSA This Month

Attachment extraction in SpamScope mail-parser 4.6.0 through 4.6.2 aborts the entire save batch when a single attacker-crafted MIME part fails, so every attachment ordered after the poisoned part is silently never written to disk and the parser's output diverges from the bytes the recipient actually received. Pipelines that call write_attachments() on untrusted mail and then scan only the extraction directory (malware scanner, sandbox, gateway) can miss a payload hidden behind an RFC 2231 filename decoding to a NUL, a basename exceeding NAME_MAX, or an undecodable base64 body, and callers that catch only MailParserError never observe the underlying ValueError, OSError or binascii.Error. Scored CVSS 6.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L; no confidentiality impact, limited integrity and availability impact), it is not in CISA KEV and no in-the-wild exploitation is confirmed; the upstream advisory publishes a minimal reproducer, and the vendor-released fix is version 4.6.3.

Python Information Disclosure Red Hat Mail Parser
NVD GitHub
CVSS 3.1
6.5
EPSS
0.3%
CVE-2026-129300 Nov 16, 17:45 PyPI MEDIUM POC PATCH GHSA This Month

Parsing of attacker-supplied email through mail-parser 3.7.0 through 4.6.2 can be aborted entirely by a single crafted Received header whose trailing date carries an out-of-range year or an oversized timezone offset, because the resulting OverflowError/OSError escapes the MailParserError hierarchy that callers are expected to catch. The defect is an uncaught-exception condition (CWE-248) reached over the network with no authentication and no user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, 5.3); only availability is affected, and the blast radius widens to a dropped queue batch when a single worker drains messages. No public exploit code is verified; the upstream advisory supplies only a minimal reproduction snippet, and the issue is fixed in 4.6.3.

Python Red Hat Mail Parser
NVD GitHub
CVSS 3.1
5.3
EPSS
0.4%
CVE-2026-129299 Nov 16, 17:43 PyPI MEDIUM POC PATCH GHSA This Month

SpamScope mail-parser through 4.6.1 resolves sender-chosen header names through Python attribute lookup, so a message carrying a header named after a real class member (Parse, Message, Write_Attachments, From_File, From_File_Obj, From_File_Msg, From_String, From_Bytes, Get_Server_Ipaddress) places a bound method into the parsed dict and any JSON accessor such as mail_json or X_raw then raises an uncaught TypeError, terminating the parsing worker; a 12-byte message suffices, and the same crash fires on benign 8-bit headers parsed via parse_from_bytes() because compat32 returns an email.header.Header object. In the same code path, header names containing underscores or ending in _json/_raw are folded or reinterpreted before lookup, so values like Subject_json or X_Spam_Flag are substituted or dropped from mail, headers and JSON output while has_defects stays false, and a headerless message is treated as falsy so body and attachments return empty strings with no error. Remote, unauthenticated and low-complexity (CVSS 3.1 6.5 Medium, AV:N/AC:L/PR:N/UI:N), the issue matters mainly for mail-scanning pipelines that trust parsed output for indicator detection; reproduction snippets are published in the upstream advisory, which constitutes a public PoC reference that is not verified as working exploit code, and no confirmed active exploitation is available. Fixed in 4.6.2.

Python Information Disclosure Red Hat Mail Parser
NVD GitHub
CVSS 3.1
6.5
EPSS
0.4%
CVE-2026-129296 Nov 16, 17:36 PyPI MEDIUM POC PATCH GHSA This Month

mail-parser versions 3.8.0 through 4.5.0 write email attachments to disk using the sender-supplied filename from Content-Disposition (including RFC 2231 'filename*=' encoded forms) or Content-ID without stripping directory components or verifying that the resulting path stays inside the output directory, so a crafted message can overwrite files outside it. The flaw is reachable only when the consuming application calls write_attachments() or write_sample() on attacker-supplied email - that extraction step is the user-interaction prerequisite - and the attacker can only overwrite files the parsing process itself can write. No public exploit code identified at time of analysis; the vendor shipped a fix in 4.6.0 that sanitizes filenames, enforces path containment, rejects symlink destinations and deduplicates names, making this a moderate, context-dependent risk rather than an emergency.

Python Path Traversal Red Hat Mail Parser
NVD GitHub
CVSS 3.1
6.5
EPSS
0.6%
EPSS 0% CVSS 7.5
HIGH POC PATCH This Week

Sender IP address spoofing in SpamScope mail-parser through 4.6.1 allows unauthenticated remote attackers who control email headers to make get_server_ipaddress() return an attacker-chosen IP, misleading applications that use that value for sender attribution or blocklisting. The flaw is CWE-345 and is fixed in 4.6.2; exploitation requires the consuming application to parse attacker-supplied email and trust the returned address. No public exploit identified at time of analysis, and the vendor notes there is no in-library workaround.

Python Information Disclosure Mail Parser
NVD GitHub
EPSS 0% CVSS 7.5
HIGH POC PATCH This Week

Polynomial regular-expression backtracking in SpamScope mail-parser 4.2.0 through 4.6.0 lets remote attackers stall mail-processing workers with a single small, well-formed message, causing availability-only denial of service. Parsing is unauthenticated by nature (CVSS PR:N/UI:N, AV:N) and the blowup is reached through ordinary parse_from_string(), parse_from_bytes() or parse_from_file() calls with no special option or malformed structure required; a crafted but RFC 5322-compliant header carrying a long whitespace run can keep a gateway, ticketing, quarantine or archival worker busy for minutes to hours. No public exploit code has been identified at time of analysis - the vendor advisory provides measured timing tables rather than weaponized payloads - and the issue is a 'this_week' priority item rather than an emergency, fixed by upgrading to 4.6.1.

Denial Of Service Python Red Hat +1
NVD GitHub
EPSS 0% CVSS 6.5
MEDIUM POC PATCH This Month

Attachment extraction in SpamScope mail-parser 4.6.0 through 4.6.2 aborts the entire save batch when a single attacker-crafted MIME part fails, so every attachment ordered after the poisoned part is silently never written to disk and the parser's output diverges from the bytes the recipient actually received. Pipelines that call write_attachments() on untrusted mail and then scan only the extraction directory (malware scanner, sandbox, gateway) can miss a payload hidden behind an RFC 2231 filename decoding to a NUL, a basename exceeding NAME_MAX, or an undecodable base64 body, and callers that catch only MailParserError never observe the underlying ValueError, OSError or binascii.Error. Scored CVSS 6.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L; no confidentiality impact, limited integrity and availability impact), it is not in CISA KEV and no in-the-wild exploitation is confirmed; the upstream advisory publishes a minimal reproducer, and the vendor-released fix is version 4.6.3.

Python Information Disclosure Red Hat +1
NVD GitHub
EPSS 0% CVSS 5.3
MEDIUM POC PATCH This Month

Parsing of attacker-supplied email through mail-parser 3.7.0 through 4.6.2 can be aborted entirely by a single crafted Received header whose trailing date carries an out-of-range year or an oversized timezone offset, because the resulting OverflowError/OSError escapes the MailParserError hierarchy that callers are expected to catch. The defect is an uncaught-exception condition (CWE-248) reached over the network with no authentication and no user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, 5.3); only availability is affected, and the blast radius widens to a dropped queue batch when a single worker drains messages. No public exploit code is verified; the upstream advisory supplies only a minimal reproduction snippet, and the issue is fixed in 4.6.3.

Python Red Hat Mail Parser
NVD GitHub
EPSS 0% CVSS 6.5
MEDIUM POC PATCH This Month

SpamScope mail-parser through 4.6.1 resolves sender-chosen header names through Python attribute lookup, so a message carrying a header named after a real class member (Parse, Message, Write_Attachments, From_File, From_File_Obj, From_File_Msg, From_String, From_Bytes, Get_Server_Ipaddress) places a bound method into the parsed dict and any JSON accessor such as mail_json or X_raw then raises an uncaught TypeError, terminating the parsing worker; a 12-byte message suffices, and the same crash fires on benign 8-bit headers parsed via parse_from_bytes() because compat32 returns an email.header.Header object. In the same code path, header names containing underscores or ending in _json/_raw are folded or reinterpreted before lookup, so values like Subject_json or X_Spam_Flag are substituted or dropped from mail, headers and JSON output while has_defects stays false, and a headerless message is treated as falsy so body and attachments return empty strings with no error. Remote, unauthenticated and low-complexity (CVSS 3.1 6.5 Medium, AV:N/AC:L/PR:N/UI:N), the issue matters mainly for mail-scanning pipelines that trust parsed output for indicator detection; reproduction snippets are published in the upstream advisory, which constitutes a public PoC reference that is not verified as working exploit code, and no confirmed active exploitation is available. Fixed in 4.6.2.

Python Information Disclosure Red Hat +1
NVD GitHub
EPSS 1% CVSS 6.5
MEDIUM POC PATCH This Month

mail-parser versions 3.8.0 through 4.5.0 write email attachments to disk using the sender-supplied filename from Content-Disposition (including RFC 2231 'filename*=' encoded forms) or Content-ID without stripping directory components or verifying that the resulting path stays inside the output directory, so a crafted message can overwrite files outside it. The flaw is reachable only when the consuming application calls write_attachments() or write_sample() on attacker-supplied email - that extraction step is the user-interaction prerequisite - and the attacker can only overwrite files the parsing process itself can write. No public exploit code identified at time of analysis; the vendor shipped a fix in 4.6.0 that sanitizes filenames, enforces path containment, rejects symlink destinations and deduplicates names, making this a moderate, context-dependent risk rather than an emergency.

Python Path Traversal Red Hat +1
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy