Vulnérabilité dans eml_parser (CVE-2026-55619)
Résumé
Vulnérabilité dans eml_parser (CVE-2026-55619). Risque d'opérations non autorisées ou de divulgation. Exploitable via eml_parser. Atténuation : mise à jour vers 3.0.2 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
eml_parser uses the email.utils.getaddresses() function from the CPython standard library to parse e-mail headers that contain e-mail addresses (such as To, Cc, Bcc, From, Reply-To, Sender, ...). When the input header contains a deeply nested CFWS (comment / folding white space) construct, the recursive descent parser in the standard library exhausts the call stack. The resulting RecursionError is not caught by eml_parser, so the exception propagates and aborts parsing of the whole message.
Impact
SOC pipelines use eml_parser to process untrusted e-mails. An attacker can easily create an eml file that will trigger the RecursionError during parsing.
The impact is mitigated by the fact that there are various other situations in which eml_parser will raise an exception when attempting to parse a malformed or pathological eml file. In particular, very deeply nested multipart e-mails also result in a RecursionError being raised by the library voluntarily. Therefore, systems relying on eml_parser already need to detect and handle errors emanating from the library in an appropriate way.
Workarounds
The issue can be avoided by wrapping the call to eml_parser.decode_email or eml_parser.decode_email_bytes in a try/except construct.
Patches
Since version 3.0.2, eml_parser will catch the error in the standard library parser and fall back to a simpler parser based on a regular expression.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-55619 a été découverte dans eml_parser.
Des attaquants peuvent cibler un point d'entrée spécifique comme eml_parser à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 5.3/10.
Action : mettez à jour eml_parser vers 3.0.2 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « eml_parser CVE-2026-55619 » sur le site de l'éditeur.
CVE-2026-55619 (eml_parser) — CWE-770 / CVSS v3 5.3
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : eml_parser / Bcc / From / Sender
Correctif : 3.0.2 — appliquer immédiatement
Contournement : The issue can be avoided by wrapping the call to eml_parser.decode_email or eml_parser.decode_email_bytes in a try/except construct.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-770) affecte eml_parser. Les attaquants atteignent le code vulnérable via eml_parser sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de eml_parser. Surface d'attaque : eml_parser / Bcc / From / Sender.
Gravité : Moyenne (CVSS 5.3/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 3.0.2.
Contournement : The issue can be avoided by wrapping the call to eml_parser.decode_email or eml_parser.decode_email_bytes in a try/except construct.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'eml_parser' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
eml_parserを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
The issue can be avoided by wrapping the call to `eml_parser.decode_email` or `eml_parser.decode_email_bytes` in a `try/except` construct.パッチが適用されるまでの応急処置として、The issue can be avoided by wrapping the call to
eml_parser.decode_emailoreml_parser.decode_email_bytesin atry/exceptconstruct. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade eml_parser to 3.0.2ステージング環境で 3.0.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。