CVE-2026-129300

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductSpamscope Mail-parser
PublishedNov 16, 2026
First seenNov 16, 2026
Weakness typeCWE-248CWE-248

How to fix

Update
  • mail-parser4.6.3 or later

Affected products

ProductAffected versionsFixed in
SpamScope mail-parser>= 3.7.0, < 4.6.3—
mail-parserPyPI3.7.0 ≤ v < 4.6.34.6.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-129300 · Spamscope Mail-parser · Vulnerabilities · Dark Radar