Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-129300
VULNERABILITY

CVE-2026-129300

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
5.3
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Timeline

Published
Nov 16, 2026 18:17
Modified
Nov 17, 2026 23:17
Last observed
Nov 17, 2026 19:00

CWE

CWE-248

References