1. Accueil
  2. Vulnérabilités
  3. CVE-2026-129295

CVE-2026-129295

mail-parser is vulnerable to polynomial ReDoS in email header parsing

Publiée le 16 nov. 2026 · modifiée le 17 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 44/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

SpamScope (1 ligne(s))
SpamScope
ProduitVersionsCorrigé dansSource
mail-parser Versions non précisées — CNA (éditeur ou attributeur)
Pypi (1 ligne(s))
Pypi
ProduitVersionsCorrigé dansSource
mail-parser de 4.2.0 (inclus) à 4.6.1 (exclu) 4.6.1 GitHub Advisory

Correctif

Mise à jour — PyPI/mail-parser 4.6.1source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-1333 · Autre (CWE-1333)

Comment sont obtenues et calculées ces données