CVE Hunter
›
CVE-2026-129295

CWE-1333

HIGH CVSS 7.5 ⚡ EPSS 0.5% GitHub

### Summary 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. 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. ### Details **1. Address-header fallback regex (`src/mailparser/utils.py`)** `get_addresses()` falls back to `_ADDR_FALLBACK_RE` whenever `email.utils.getaddresses(strict=True)` yields no usable address. The alternative `([^<,]*?)\s*<([^>]+)>` 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 `<` padding and **cubic** on whitespace padding. The fallback engages on the feature's own happy path, e.g. `From: [email protected] <[email protected]>`. Measured (4.6.0, CPython 3.14, macOS arm64; reproduced identically on Linux and on CPython 3.9, 3.11, 3.12, 3.13): | 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 | Fu

Yayınlanma 16.11.2026
ISO Tarih 2026-11-16
CVSS Sürüm v3.1
Kaynak GitHub
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality None C:N
Integrity None I:N
Availability High A:H
EPSS — Exploit Olasılık Skoru
0.5%
30 günlük olasılık
Tüm CVElerin 43. yüzdeliğinde — Bu açığın istismar edilme ihtimali çoğu CVEden yüksek.
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
7.5 / 10 · CVSS HIGH
Zayıflık Türleri (CWE)
CWE-1333
Etkilenen Ürünler (1)
mail-parser
Referanslar (4)
İlgili CVE'ler
4.3
CVE-2026-131922
In OpenStack keystonemiddleware before 13.0.3, by supplying a malicious regular expression when creating an ap
7.5
CVE-2026-129302
Guard Core is an API security core engine for the FastAPI-Guard, FlaskAPI Guard, and DjAPI Guard adapters. Fro
6.9
CVE-2026-128074
### Summary Nuxt strips trailing slashes from the request path with a regular expression whose cost grows qua
5.3
CVE-2026-129307
eml_parser serves as a python module for parsing eml files and returning various information found in the e-ma
5.0
CVE-2026-128124
### Summary `Application.add_domain()` compiled each `*` in a host mask to `[^:]*`. With two or more wildcard
7.5
CVE-2026-126191
### Summary The IDENTIFIER/CSS_ESCAPES regex (css_parser.py:119-124) exhibits exponential backtracking on a ru