Skip to main content
CVE-2026-129301VulnerabilityPublished

parsedmarc · mail-parser: One hostile attachment aborts `write_attachments()` and silently drops the rest of the batch

Affects parsedmarcSource GCVE Database

0
Compare
Authoritative record:CVE-2026-129301· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium : upgrade to 10.5.0 when convenient.

Data as of 17 Nov 2026, 18:06 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.5
Patch
Available – fixed in 10.5.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade parsedmarc to 10.5.0.

Affected software

ProductAffectedFixed in
Homebrewparsedmarcpkg:brew/parsedmarcOther threatsAffected
  • >=10.4.2 <10.5.0
Fixed in
  • 10.5.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade mail-parser to version 4.6.3 or later, or parsedmarc to version 10.5.0 or later, where the issue is fixed. The fix includes skipping invalid attachments instead of aborting, truncating long filenames, and improved base64 decoding and error handling. If upgrading is not possible, avoid calling write_attachments() on untrusted mail. Instead, iterate over parser.attachments and write each attachment individually inside try/except blocks, skipping attachments with a None safe_filename.

Description

A vulnerability in mail-parser versions 10.4.2 up to but not including 10.5.0 causes the write_attachments() function to abort writing attachments after encountering a single malicious attachment, silently dropping subsequent attachments without error. This allows an attacker to evade detection by placing a poisoned attachment first, preventing later payloads from being extracted by downstream scanners while still delivering them intact to recipients. The issue arises from unguarded exceptions during filename sanitization and payload decoding. The flaw was fixed in version 10.5.0 by improving error handling, filename truncation, and decoding logic.

References

Community reviews

Loading reviews…