CVE-2026-129300 mail-parser: Uncaught `OverflowError` / `OSError` on an out-of-range `Received` date
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- DebianRed Hat
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.
Upgrade path
6 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/lightspeed-core/rag-tool-cpu-rhel9(Red Hat lightspeed_core) | All versions | No fix listed | No fix yet |
| redhat/lightspeed-core/rag-tool-cuda-12.9-rhel9(Red Hat lightspeed_core) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-autorag-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-ogx-core-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| pypi mail-parser(PyPI) | = 3.7.0; = 3.7.1; = 3.8.0; = 3.8.1 +24 more | 4.6.3 | Fixed |
| SpamScope mail-parser | = >= 3.7.0, < 4.6.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mail-parser(PyPI) | >= 3.7.0, < 4.6.3 | 4.6.3 |
| pypi mail-parser(PyPI) | = 3.10.0 | No fix listed |
| pypi mail-parser(PyPI) | = 3.11.0 | No fix listed |
| pypi mail-parser(PyPI) | = 3.12.0 | No fix listed |
| pypi mail-parser(PyPI) | = 3.13.0 | No fix listed |
| pypi mail-parser(PyPI) | = 3.14.0 | No fix listed |
| pypi mail-parser(PyPI) | = 3.15.0 | No fix listed |
| pypi mail-parser(PyPI) | = 3.7.0 | No fix listed |
| pypi mail-parser(PyPI) | = 3.7.1 | No fix listed |
| pypi mail-parser(PyPI) | = 3.8.0 | No fix listed |
| pypi mail-parser(PyPI) | = 3.8.1 | No fix listed |
| pypi mail-parser(PyPI) | = 3.9.0 | No fix listed |
| pypi mail-parser(PyPI) | = 3.9.1 | No fix listed |
| pypi mail-parser(PyPI) | = 3.9.2 | No fix listed |
| pypi mail-parser(PyPI) | = 3.9.3 | No fix listed |
| pypi mail-parser(PyPI) | = 4.0.0 | No fix listed |
| pypi mail-parser(PyPI) | = 4.1.0 | No fix listed |
| pypi mail-parser(PyPI) | = 4.1.2 | No fix listed |
| pypi mail-parser(PyPI) | = 4.1.3 | No fix listed |
| pypi mail-parser(PyPI) | = 4.1.4 | No fix listed |
| pypi mail-parser(PyPI) | = 4.2.0 | No fix listed |
| pypi mail-parser(PyPI) | = 4.2.1 | No fix listed |
| pypi mail-parser(PyPI) | = 4.3.0 | No fix listed |
| pypi mail-parser(PyPI) | = 4.4.0 | No fix listed |
| pypi mail-parser(PyPI) | = 4.5.0 | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mail-parser(PyPI) | = 4.6.0 | No fix listed |
| pypi mail-parser(PyPI) | = 4.6.1 | No fix listed |
| pypi mail-parser(PyPI) | = 4.6.2 | No fix listed |
| SpamScope mail-parser | = >= 3.7.0, < 4.6.3 | No fix listed |
| redhat/lightspeed-core/rag-tool-cpu-rhel9(Red Hat:lightspeed_core) | All versions | No fix listed |
| redhat/lightspeed-core/rag-tool-cuda-12.9-rhel9(Red Hat:lightspeed_core) | All versions | No fix listed |
| redhat/rhoai/odh-autorag-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-ogx-core-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
References
- https://github.com/SpamScope/mail-parser/security/advisories/GHSA-xhrq-2mqv-q8wx vendor-advisory
- https://github.com/SpamScope/mail-parser/pull/171 patch
- https://github.com/SpamScope/mail-parser/commit/d69f6f9b6ad0bf74d731b373bbdeabb462c32b26 patch
- https://github.com/SpamScope/mail-parser/commit/e1d9fe6778045d6e2c44406bc8822e3464c1097f patch
- https://github.com/SpamScope/mail-parser/releases/tag/4.6.3
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2574030 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-129300 vendor-advisory
- ENISA EUVD EUVD-2026-126574 third-party-advisory