๐Ÿ” CVE Alert

CVE-2026-129299

MEDIUM 6.5

mail-parser: Uncaught exceptions and silent header loss in mail-parser on attacker-controlled input

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. Prior to 4.6.2, multiple message-processing behaviors can raise exceptions or silently lose content. Headers colliding with methods such as Parse, Message, and Write_Attachments can place bound method objects into parsed output and raise TypeError when a caller requests JSON serialization such as mail_json. When byte input is parsed through parse_from_bytes(), an 8-bit header value returned as email.header.Header can likewise raise TypeError when an X_raw accessor passes the value to json.dumps; both exceptions are outside the MailParserError hierarchy. Separately, rewritten names such as Subject_json and X_Spam_Flag can be substituted or disappear from mail, headers, and JSON output while has_defects remains false, and a headerless message can be treated as falsy before parser state is initialized, causing body and attachment properties to return empty values without an error signal. These behaviors can abort message processing or hide malicious indicators from downstream scanners. This issue is fixed in version 4.6.2.

CWE CWE-248 CWE-436
Vendor spamscope
Product mail-parser
Published Nov 16, 2026
Last Updated Nov 16, 2026
Stay Ahead of the Next One

Get instant alerts for spamscope mail-parser

Be the first to know when new medium vulnerabilities affecting spamscope mail-parser are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Affected Versions

SpamScope / mail-parser
< 4.6.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/SpamScope/mail-parser/security/advisories/GHSA-24mq-4vc6-2prf github.com: https://github.com/SpamScope/mail-parser/pull/167 github.com: https://github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96 github.com: https://github.com/SpamScope/mail-parser/releases/tag/4.6.2