CVE-2026-129301

medium
EUVD alias: EUVD-2026-126575
Assigned by CNA: github_m
Published 2026-11-16 · Modified 2026-11-18
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
CVSS v4 NEW
—
not yet in upstream
VIR risk
6.5

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.

Predictions

Exploit likelihood
75%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Fixed 2 releases
VersionPackageStatusFixed in
sid mail-parser Not affected —
forky mail-parser Not affected —

Package impact

EcosystemPackageVulnerableFixed
python PyPImail-parser>= 4.6.0, < 4.6.34.6.3
python PyPImail-parser>=4.6.0,<4.6.34.6.3

Application impact

VendorProductVersionsFixed
spamscopemail-parser>= 4.6.0, < 4.6.3

References

CWEs

CWE-248 CWE-436

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.