CVE-2026-55619

eml_parser: Parser DoS via deeply nested parentheses in e-mail headers

State
Published
Severity
5.3 Medium
Published
Aug 25, 2026
Updated
Aug 25, 2026
Reserved
Jun 16, 2026

Read the record on cve.org

Description

eml_parser serves as a python module for parsing eml files and returning various information found in the e-mail as well as computed information. Prior to 3.0.2, eml_parser.parser.HeaderParser.header_fetch_parse in eml_parser/parser.py uses email.utils.getaddresses() to parse address-bearing e-mail headers. A deeply nested CFWS comment construct exhausts the standard-library recursive descent parser's call stack and raises RecursionError, which is not caught and therefore aborts parsing of the entire message. An attacker can disrupt SOC pipelines that process untrusted EML files, although callers already need to handle exceptions from malformed or pathological messages. This issue is fixed in version 3.0.2.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling
  • CWE-1124 Excessively Deep Nesting

Affected Products

ProductVersions
eml_parserGOVCERT-LU
  • < 3.0.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.