<?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:33.059336+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/brew-parsedmarc-cve-2026-129295</id>
    <title>BREW-parsedmarc-CVE-2026-129295 — mail-parser is vulnerable to polynomial ReDoS in email header parsing</title>
    <updated>2026-11-24T17:31:33.062288+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: parsedmarc</p>
<p>### Summary</p>
<p>Two regular expressions used while parsing email headers backtrack
polynomially on attacker-controlled input. Parsing a single small, well-formed
email can consume minutes to hours of CPU, denying service to any process that
parses untrusted mail.</p>
<p>Both are reachable from an ordinary `parse_from_string()`, `parse_from_bytes()`
or `parse_from_file()` call — no special API, option, or malformed structure is
required by the victim.</p>
<p>### Details</p>
<p>**1. Address-header fallback regex (`src/mailparser/utils.py`)**</p>
<p>`get_addresses()` falls back to `_ADDR_FALLBACK_RE` whenever
`email.utils.getaddresses(strict=True)` yields no usable address. The
alternative `([^&lt;,]*?)\s*&lt;([^&gt;]+)&gt;` overlaps a lazy quantifier with an adjacent
`\s*` — a space matches both. Driven by `finditer`, which retries at every
offset and rescans the remainder, matching degrades to **quadratic** on `&lt;`
padding and **cubic** on whitespace padding.</p>
<p>The fallback engages on the feature's own happy path, e.g.
`From: alice@example.com &lt;bob@example.com&gt;`.</p>
<p>Measured (4.6.0, CPython 3.14, macOS arm64; reproduced identically on Linux and
on CPython 3.9, 3.11, 3.12, 3.13):</p>
<p>| Padding                | Parse time         |
| ---------------------- | ------------------ |
| valid address + 750 sp | 0.38 s             |
| + 1500 sp              | 2.97 s             |
| + 3000 sp              | 23.4 s (×7.9/2×)   |
| + 6 KB sp              | 185 s              |
| ~100 KB sp             | hours              |</p>
<p>Fully R…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/brew-parsedmarc-cve-2026-129295"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-129295</id>
    <title>CVE-2026-129295 — mail-parser is vulnerable to polynomial ReDoS in email header parsing</title>
    <updated>2026-11-24T17:31:33.062464+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.2.0 until 4.6.1, attacker-controlled email headers can cause polynomial regular-expression backtracking during ordinary parse_from_string(), parse_from_bytes(), or parse_from_file() calls. In src/mailparser/utils.py, get_addresses() invokes the _ADDR_FALLBACK_RE fallback when strict address parsing yields no usable address, and overlapping quantifiers rescan padded address headers quadratically or cubically. In src/mailparser/const.py, parse_received() applies _CLAUSE_SPLITTER to uncollapsed whitespace in a Received header, causing quadratic backtracking when a whitespace run is not followed by a clause keyword. A small, well-formed message can keep mail gateway, ticketing, quarantine, or archival parsing workers busy for extended periods. This issue is fixed in version 4.6.1.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-129295"/>
  </entry>
</feed>
