CVE-2026-129300
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.
Weakness
- CWE-248: Uncaught Exception
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-11-17 |
Timeline
- 2026-11-16Published by the CNA17:45 UTC
- 2026-11-16GitHub advisory published (GHSA-xhrq-2mqv-q8wx)same day
- 2026-11-16Published in NVD18:17 UTC · 32 minutes after the CNA
- 2026-11-17CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-xhrq-2mqv-q8wx, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI mail-parser | from 3.7.0 before 4.6.3 | 4.6.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| spamscope mail-parser |
References
- https://github.com/SpamScope/mail-parser/commit/d69f6f9b6ad0bf74d731b373bbdeabb462c32b26
- https://github.com/SpamScope/mail-parser/commit/e1d9fe6778045d6e2c44406bc8822e3464c1097f
- https://github.com/SpamScope/mail-parser/pull/171
- https://github.com/SpamScope/mail-parser/releases/tag/4.6.3
- https://github.com/SpamScope/mail-parser/security/advisories/GHSA-xhrq-2mqv-q8wx
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-129300'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-129300'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-129300'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-129300'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).