cve.bz

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

5.3 mediumEPSS 0.4%Fix available

Medium (5.3) in spamscope mail-parser. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in mail-parser 4.6.3.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.4% estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-11-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-248 Uncaught Exception
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • mail-parser (PyPI): fixed in 4.6.3

Ask an AI about this CVE

Show the promptExplain CVE-2026-129300 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-129300?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-129300?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-129300 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
SpamScope mail-parser>= 3.7.0, < 4.6.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xhrq-2mqv-q8wxPyPImail-parser>=3.7.0 <4.6.34.6.3

References

Check your stackJSON