- Accueil
- Vulnérabilités
- CVE-2026-129299
CVE-2026-129299
mail-parser: Uncaught exceptions and silent header loss in mail-parser on attacker-controlled input
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| mail-parser | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-24mq-4vc6-2prf — mail-parser: Uncaught exceptions and silent header loss in mail-parser on attacker-controlled input 16 nov. 2026
Références
- https://github.com/SpamScope/mail-parser/security/advisories/GHSA-24mq-4vc6-2prfx_refsource_CONFIRM
- https://github.com/SpamScope/mail-parser/pull/167x_refsource_MISC
- https://github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96x_refsource_MISC
- https://github.com/SpamScope/mail-parser/releases/tag/4.6.2x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-129299ADVISORY
- https://github.com/SpamScope/mail-parserPACKAGE
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)