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

CVE-2026-129299

mail-parser: Uncaught exceptions and silent header loss in mail-parser on attacker-controlled input

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

Faible 37/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. Prior to 4.6.2, multiple message-processing behaviors can raise exceptions or silently lose content. Headers colliding with methods such as Parse, Message, and Write_Attachments can place bound method objects into parsed output and raise TypeError when a caller requests JSON serialization such as mail_json. When byte input is parsed through parse_from_bytes(), an 8-bit header value returned as email.header.Header can likewise raise TypeError when an X_raw accessor passes the value to json.dumps; both exceptions are outside the MailParserError hierarchy. Separately, rewritten names such as Subject_json and X_Spam_Flag can be substituted or disappear from mail, headers, and JSON output while has_defects remains false, and a headerless message can be treated as falsy before parser state is initialized, causing body and attachment properties to return empty values without an error signal. These behaviors can abort message processing or hide malicious indicators from downstream scanners. This issue is fixed in version 4.6.2.

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 avant 4.6.2 (exclu) 4.6.2 GitHub Advisory

Correctif

Mise à jour — PyPI/mail-parser 4.6.2source 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:L/A:L (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-248 · Autre (CWE-248)

Comment sont obtenues et calculées ces données