Unrestricted Recursion in EmlParser Module Affects Python Applications
CVE-2026-44844
6.3MEDIUM
What is CVE-2026-44844?
The EmlParser module, used for parsing EML files in Python, has a significant issue in its get_raw_body_text() method. Prior to version 3.0.1, this method recursively processes nested message parts without a depth limit, leading to an unhandled RecursionError when encountering unusually crafted EML files. An attacker could exploit this by providing a malicious EML file with around 120 nested message or RFC822 attachments, resulting in a crash. Although a basic RFC compliance check would likely prevent such malformed files, this still represents a notable concern for applications relying on EmlParser for email handling. This vulnerability has been addressed in version 3.0.1.
Affected Version(s)
eml_parser < 3.0.1
