CVE-2026-129301
Last modified
CVE-2026-129301 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| SpamScope | mail-parser | >= 4.6.0, < 4.6.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-129301?
How severe is CVE-2026-129301?
How do I fix CVE-2026-129301?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-129295mail-parser is a tool that parses emails by enhancing the Py…7.5
- CVE-2026-129296mail-parser is a tool that parses emails by enhancing the Py…6.5
- CVE-2026-129297mail-parser is a tool that parses emails by enhancing the Py…7.5
- CVE-2026-129299mail-parser is a tool that parses emails by enhancing the Py…6.5
- CVE-2026-1293The Yoast SEO – Advanced SEO with real-time guidance and bui…6.4
- CVE-2026-129300mail-parser is a tool that parses emails by enhancing the Py…5.3
- CVE-2026-129306libspdm is a sample implementation that follows the DMTF SPD…4.4
- CVE-2026-129319create-ecdh is a browserifiable implementation of Node.js cr…5.9
- CVE-2026-12932A memory leak in the tls-crypt-v2 client key extraction in O…8.1
- CVE-2026-129320The shiro:principal tags in shiro-web (Jakarta Pages) and sh…2.1
- CVE-2026-129337Git over HTTP lowers the required permission for pushes to r…
- CVE-2026-129341The web endpoint that removes an attachment skipped the perm…
Are you affected by CVE-2026-129301?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
