๐Ÿ” CVE Alert

CVE-2026-129300

MEDIUM 5.3

mail-parser: Uncaught `OverflowError` / `OSError` on an out-of-range `Received` date

CVSS Score
5.3
EPSS Score
0.4%
EPSS Percentile
34th

mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 3.7.0 until 4.6.3, receiveds_format() in src/mailparser/utils.py catches only TypeError and ValueError while converting the trailing date of an attacker-controlled Received header. An out-of-range year can cause calendar.timegm() to raise OverflowError, and a sufficiently large timezone offset can cause datetime.fromtimestamp() to raise OSError. These exceptions are outside the MailParserError hierarchy, so one crafted header can abort the entire message parse through every parse_from_* entry point and may drop a queued batch. This issue is fixed in version 4.6.3.

CWE CWE-248
Vendor spamscope
Product mail-parser
Published Nov 16, 2026
Last Updated Nov 17, 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:N/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Affected Versions

SpamScope / mail-parser
>= 3.7.0, < 4.6.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/SpamScope/mail-parser/security/advisories/GHSA-xhrq-2mqv-q8wx github.com: https://github.com/SpamScope/mail-parser/pull/171 github.com: https://github.com/SpamScope/mail-parser/commit/d69f6f9b6ad0bf74d731b373bbdeabb462c32b26 github.com: https://github.com/SpamScope/mail-parser/commit/e1d9fe6778045d6e2c44406bc8822e3464c1097f github.com: https://github.com/SpamScope/mail-parser/releases/tag/4.6.3