PatchSiren cyber security CVE debrief
CVE-2026-129301 SpamScope CVE debrief
CVE-2026-129301 mail-parser: One hostile attachment aborts `write_attachments()` and silently drops the rest of the batch. The vulnerability affects email processing systems using the mail-parser library, particularly versions 4.6.0 through 4.6.2. A hostile attachment can cause the write_attachments() function to abort, potentially leading to availability losses and silent data loss. Defenders should assess exposure, verify version numbers, and upgrade to a patched version to prevent these issues.
- Vendor
- SpamScope
- Product
- mail-parser
- CVSS
- MEDIUM 6.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-16
- Original CVE updated
- 2026-11-18
- Advisory published
- 2026-11-16
- Advisory updated
- 2026-11-18
Who should care
Defenders responsible for email processing systems, particularly those using the mail-parser library, should assess exposure and verify version numbers to ensure they are running a patched version.
Why it matters
Defenders should care about CVE-2026-129301 because it affects the mail-parser library used in email processing systems. A hostile attachment can cause the write_attachments() function to abort, potentially leading to availability losses and silent data loss. Defenders responsible for email processing systems should assess exposure, verify version numbers, and upgrade to a patched version to prevent these issues.
- Potential availability loss due to aborted batches
- Possible silent data loss or incomplete processing of email attachments
- Increased risk of missed payloads in email attachments due to downstream scanner or sandbox limitations
Technical summary
The mail-parser library, used for parsing emails, had a vulnerability in versions 4.6.0 through 4.6.2. A hostile attachment could cause the write_attachments() function to abort, silently dropping the rest of the batch. This issue is fixed in version 4.6.3. The vulnerability affects email processing systems, potentially leading to availability losses and silent data loss. Defenders should prioritize verifying and upgrading to mail-parser version 4.6.3 or later to prevent attachment processing disruptions. The write_attachments() function failure can be caused by an RFC 2231 filename containing a NUL, a basename exceeding NAME_MAX, or an undecodable base64 payload, raising ValueError, OSError, or binascii.Error.
Defensive priority
Defenders should prioritize verifying and upgrading to mail-parser version 4.6.3 or later to prevent attachment processing disruptions.
Recommended defensive actions
- Verify mail-parser version and upgrade to 4.6.3 or later
- Review and adjust error handling for write_attachments() calls
- Monitor for and address potential availability losses due to aborted batches
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item detail a vulnerability in mail-parser versions from 4.6.0 to 4.6.2 where a hostile attachment can cause the write_attachments() function to abort and silently drop the rest of the batch.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-129301 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-129301
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-129301 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-129301
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
mail-parser: One hostile attachment aborts `write_attachments()` and silently drops the rest of
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/129xxx/CVE-2026-129301.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/security/advisories/GHSA-8cgq-x343-p74c
Supplemental source - x_refsource_CONFIRM
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/pull/171
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/commit/11b894a0b8b3f11055a99caff118206138d1daba
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/commit/e1d9fe6778045d6e2c44406bc8822e3464c1097f
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/releases/tag/4.6.3
Supplemental source - x_refsource_MISC
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.