StraitOfVuln
Latest / CVE-2026-129301

CVE-2026-129301

MediumCVSS 6.5 (v3.1)Received
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-129301
Published / updated
16 Nov 2026, 18:17 UTC · last modified 18 Nov 2026, 16:18 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L · Attack vector: Network
Affected vendor
SpamScope
Affected products
mail-parser
Affected versions
mail-parser: >= 4.6.0, < 4.6.3
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.36% probability of exploitation in the next 30 days · 32% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com