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.

Project Subscriptions

Vendors Products
Spamscope Subscribe
Mail-parser Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xhrq-2mqv-q8wx mail-parser: Uncaught `OverflowError` / `OSError` on an out-of-range `Received` date
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 18 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Spamscope
Spamscope mail-parser
Vendors & Products Spamscope
Spamscope mail-parser

Wed, 18 Nov 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 18 Nov 2026 06:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 16 Nov 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title mail-parser: Uncaught `OverflowError` / `OSError` on an out-of-range `Received` date
Weaknesses CWE-248
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-17T22:27:27.838Z

Reserved: 2026-11-13T22:30:18.284Z

Link: CVE-2026-129300

cve-icon Vulnrichment

Updated: 2026-11-17T22:07:05.480Z

cve-icon NVD

Status : Received

Published: 2026-11-16T18:17:30.987

Modified: 2026-11-17T23:17:51.360

Link: CVE-2026-129300

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-16T17:45:18Z

Links: CVE-2026-129300 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-18T21:09:03Z

Weaknesses