Vulnerability · Published May 26, 2026 · Assigned by GitHub_M
CVE-2026-44844eml_parser: Recursion DoS via nested message/rfc822 attachments
Medium 6.3
In plain English
A medium-severity security flaw in eml_parser from GOVCERT-LU. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.1, EmlParser.get_raw_body_text() recurses unconditionally for every nested message/rfc822 attachment without any depth limit. An attacker who can supply a badly crafted EML file with approximately 120 nested message/rfc822 parts triggers an unhandled RecursionError and aborts parsing of the message. A 12 KB EML file is enough to crash a worker. Though this causes the parser to crash, it is an unlikely scenario as the suggested EML that crashes the parser would not pass basic RFC compliance tests. This vulnerability is fixed in 3.0.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | eml-parser | 3.0.1 | GHSA-g47v-rwmh-r9f8 |
| PyPI | eml-parser | 3.0.1 | PYSEC-2026-2468 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GOVCERT-LU | eml_parser | < 3.0.1 |
Weakness: CWE-674 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-g47v-rwmh-r9f8 x_refsource_CONFIRM