<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-11-24T17:16:03.033426+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-129301</id>
    <title>CVE-2026-129301 — mail-parser: One hostile attachment aborts `write_attachments()` and silently drops the rest of the batch</title>
    <updated>2026-11-24T17:16:03.036049+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> SpamScope mail-parser</p>
<p>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.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-129301"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-8cgq-x343-p74c</id>
    <title>GHSA-8cgq-x343-p74c — mail-parser: One hostile attachment aborts `write_attachments()` and silently drops the rest of the batch</title>
    <updated>2026-11-24T17:16:03.036279+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: mail-parser</p>
<p>### Impact</p>
<p>`write_attachments()` called `_safe_attachment_filename()` and `write_sample()` inside its loop
with no guard, so a single crafted attachment raised out of the whole save. Every attachment
**after** the malicious one was silently never written, with no error surfaced to a caller that
catches only `MailParserError`.</p>
<p>That is an evasion primitive as much as an availability bug: a sender puts one poisoned part
first and the real payload second, and the payload never reaches the extraction directory that
a downstream scanner or sandbox reads — while it still reaches the recipient's mail client
intact. The tool's output diverges from the bytes actually in the message, which is the same
failure mode as the filename-sanitizing bypass in
[GHSA-fr3h-cpq2-9496](https://github.com/SpamScope/mail-parser/security/advisories/GHSA-fr3h-cpq2-9496).</p>
<p>Three shapes were reachable, all from attacker-controlled MIME metadata:</p>
<p>- **NUL smuggled through RFC 2231** — `filename*=us-ascii''evil%00.bin` decodes to a NUL in the
  filename during parsing and raised `ValueError` out of the name check;
- **overlong basename** — a filename longer than `NAME_MAX` (e.g. 300 characters) raised
  `OSError: File name too long` from `open()`, *after* creating a zero-byte stub on disk;
- **undecodable payload** — a body that is not valid base64 raised `binascii.Error` (a
  `ValueError` subclass) from the decode performed inside the `open()` block.</p>
<p>```python
import tempfile, mailparser</p>
<p>raw = ("Conten…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-8cgq-x343-p74c"/>
  </entry>
</feed>
