CVE-2026-129301Spamscope Mail-parser vulnerability
CVSS score
6.5
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.34%
0.34% chance of exploitation in the next 30 days, higher than 27.4% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 4.6.0 until 4.6.3, write_attachments() calls _safe_attachment_filename() and write_sample() without isolating failures for individual attacker-controlled MIME parts. An RFC 2231 filename containing a NUL, a basename exceeding NAME_MAX, or an undecodable base64 payload can raise ValueError, OSError, or binascii.Error and abort the entire save loop. Later attachments remain unwritten; when a caller catches only MailParserError, the failure is not surfaced through the expected library-exception path. If a downstream scanner or sandbox reads only the extraction directory, a payload after the crafted part can be missed even though it remains in the delivered message, and the aborted batch also causes availability loss. This issue is fixed in version 4.6.3.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running SpamScope Mail-parser and compare its version with the affected versions.
Update to a fixed version
- Update Mail-parser to 4.6.3 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Affected products
| Affected products | Versions |
|---|---|
| SpamScope Mail-parser | >= 4.6.0, < 4.6.3 |
Frequently asked questions
Is CVE-2026-129301 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-129301?
CVE-2026-129301 has a CVSS 3.1 base score of 6.5 (medium).
Which versions are affected?
Spamscope Mail-parser (>= 4.6.0, < 4.6.3)
Is there a patch for CVE-2026-129301?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/SpamScope/mail-parser/commit/11b894a0b8b3f11055a99caff118206138d1daba
- github.com/SpamScope/mail-parser/commit/e1d9fe6778045d6e2c44406bc8822e3464c1097f
- github.com/SpamScope/mail-parser/pull/171
- github.com/SpamScope/mail-parser/releases/tag/4.6.3
- github.com/SpamScope/mail-parser/security/advisories/GHSA-8cgq-x343-p74c
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.