<?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:31:36.781145+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-129300</id>
    <title>CVE-2026-129300 — mail-parser: Uncaught `OverflowError` / `OSError` on an out-of-range `Received` date</title>
    <updated>2026-11-24T17:31:36.782312+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 3.7.0 until 4.6.3, receiveds_format() in src/mailparser/utils.py catches only TypeError and ValueError while converting the trailing date of an attacker-controlled Received header. An out-of-range year can cause calendar.timegm() to raise OverflowError, and a sufficiently large timezone offset can cause datetime.fromtimestamp() to raise OSError. These exceptions are outside the MailParserError hierarchy, so one crafted header can abort the entire message parse through every parse_from_* entry point and may drop a queued batch. This issue is fixed in version 4.6.3.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-129300"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-xhrq-2mqv-q8wx</id>
    <title>GHSA-xhrq-2mqv-q8wx — mail-parser: Uncaught `OverflowError` / `OSError` on an out-of-range `Received` date</title>
    <updated>2026-11-24T17:31:36.782378+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>A `Received` header whose trailing date carries an out-of-range year, or a timezone offset
large enough to push the timestamp past the int64 epoch range, raises an exception that is
**outside the `MailParser*` hierarchy**. A caller that catches only mail-parser exceptions
does not catch it, and the parse of the entire message is aborted — the same class of issue
as [GHSA-24mq-4vc6-2prf](https://github.com/SpamScope/mail-parser/security/advisories/GHSA-24mq-4vc6-2prf),
which this survives (it is not a duplicate; 24mq is fixed in 4.6.2 and this reproduces on 4.6.2).</p>
<p>All entry points are affected: `parse_from_string()`, `parse_from_bytes()`, `parse_from_file()`,
`parse_from_file_obj()` and the `mail-parser` CLI. The header is fully attacker-controlled and
a single line is enough, so any pipeline that parses untrusted mail can be made to lose the
message — and, if one worker handles a queue, to drop the batch.</p>
<p>```python
import mailparser</p>
<p>raw = ("Received: from x ([1.2.3.4]) by mx.victim.com; "
       "Tue, 7 Mar 292277026596 14:29:24 +0000\r\n\r\nbody\r\n")
mailparser.parse_from_string(raw).mail_json
# &lt;= 4.6.2 -&gt; OverflowError: signed integer is greater than maximum
# 4.6.3    -&gt; parses; the unusable hop date is reported as "date_utc": null
```</p>
<p>**Root cause.** `receiveds_format()` in `src/mailparser/utils.py` guarded the date conversion
with `except (TypeError, ValueError)`, but `convert_mail_date()` → `email.utils.mktime_tz()` →
`calendar.timegm()` raises `Over…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-xhrq-2mqv-q8wx"/>
  </entry>
</feed>
