CVE-2026-55619Medium· 5.3▾ Sunliteml_parser has parser DoS via deeply nested parentheses in e-mail headers
▾ Sunlit zone — Low / medium · no exploitation signal
impact 29.2 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Aug 26.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
0.3%
Last analysed / modified upstream
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.
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.
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.
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.
eml-parser < 3.0.2Upgrade to a patched release:
eml-parser 3.0.2Connected by shared product, vendor, weakness, or advisory.
CVE-2026-55620High· 7.5eml_parser vulnerable to DoS via deeply nested parens in Received headers
CVE-2026-55618Medium· 6.5eml_parser has a URL extraction bypass via HTML entities in URLs
CVE-2026-44844Mediumeml_parser has recursion DoS via nested message/rfc822 attachments
CVE-2026-29780Medium· 5.5eml_parser: Path Traversal in Official Example Script Leads to Arbitrary File Write
CVE-2026-39373High· 7.5JWCrypto: python-cryptography: python: JWCrypto: Memory exhaustion via crafted compressed JWE tokens (CVE-2026-39373)
CVE-2026-16100Medium· 6.5A flaw was found in the user-event metrics recording of Keycloak