CVE-2026-129300SpamScope mail-parser
Medium 5.3 No auth needed
- Priority
- 51
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Nov 16, 2026
- Updated
- Nov 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-248
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for mail-parser.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mail-parser |
≥ 3.7.0 < 4.6.3 |
4.6.3 |
pip install "mail-parser>=4.6.3" |
Per OSV / GitHub Advisories (GHSA-xhrq-2mqv-q8wx). Check the version in your lockfile before upgrading.
Affected products
- SpamScope · mail-parser
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.