SecurityContext

CVE-2026-129301: mail-parser - Denial of Service

  • Cve: CVE-2026-129301
  • Name: mail-parser - Denial of Service
  • 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.
  • Impact: Attackers can abort attachment extraction, causing later attachments to be missed and availability loss.
  • Remediation: Upgrade to version 4.6.3 or later.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
  • Epss score: 0.00335
  • Epss percentile: 0.27173
  • Assignee: [email protected]
  • Published at: 2026-11-16T18:17:31Z
  • Age in days: 8
  • Modified at: 2026-11-18T16:18:10Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-129301
  • Nvd status: received
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-248Uncaught Exception

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/SpamScope/mail-parser/commit/11b894a0b8b3f11055a99caff118206138d1daba
https://github.com/SpamScope/mail-parser/commit/e1d9fe6778045d6e2c44406bc8822e3464c1097f
https://github.com/SpamScope/mail-parser/pull/171
https://github.com/SpamScope/mail-parser/releases/tag/4.6.3
https://github.com/SpamScope/mail-parser/security/advisories/GHSA-8cgq-x343-p74c

Projects

RepositoryLink kindsIndexedUrl
SpamScope/mail-parsercommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/SpamScope/mail-parser

Index

  • Repositories: 1
  • Checked, none or zero: repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts