CVE-2026-129307 eml_parser: Algorithmic-complexity DoS (O(n^4) regex backtracking) in Received-header parsing
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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. In 3.0.3 and earlier, eml_parser.routing.parserouting() in eml_parser/routing.py builds a regular expression with multiple greedy capture groups and appends the npdate date literal extracted from a normalized copy of an attacker-controlled Received header, then searches that expression against the original unnormalized line. A formatting difference can make the trailing literal impossible to match, causing exhaustive backtracking across the greedy groups at each start position. The unsliced Received-header path is invoked by decode_email, decode_email_bytes, and parse_email, so one small unauthenticated message can pin a parser worker and create sustained queue backlog. This issue is fixed in version 3.0.4.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux perl-XML-Parser(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| pypi eml-parser(PyPI) | < 3.0.4; <= 3.0.3; = 0.9; = 1.0 +41 more | 3.0.4 | Fixed |
| GOVCERT-LU eml_parser | = < 3.0.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GOVCERT-LU eml_parser | = < 3.0.4 | No fix listed |
| pypi eml-parser(PyPI) | <= 3.0.3 | No fix listed |
| pypi eml-parser(PyPI) | < 3.0.4 | 3.0.4 |
| pypi eml-parser(PyPI) | = 0.9 | No fix listed |
| pypi eml-parser(PyPI) | = 1.0 | No fix listed |
| pypi eml-parser(PyPI) | = 1.1 | No fix listed |
| pypi eml-parser(PyPI) | = 1.10 | No fix listed |
| pypi eml-parser(PyPI) | = 1.11 | No fix listed |
| pypi eml-parser(PyPI) | = 1.11.1 | No fix listed |
| pypi eml-parser(PyPI) | = 1.11.2 | No fix listed |
| pypi eml-parser(PyPI) | = 1.11.4 | No fix listed |
| pypi eml-parser(PyPI) | = 1.11.5 | No fix listed |
| pypi eml-parser(PyPI) | = 1.11.6 | No fix listed |
| pypi eml-parser(PyPI) | = 1.11.7 | No fix listed |
| pypi eml-parser(PyPI) | = 1.12.0 | No fix listed |
| pypi eml-parser(PyPI) | = 1.13.0 | No fix listed |
| pypi eml-parser(PyPI) | = 1.14.0 | No fix listed |
| pypi eml-parser(PyPI) | = 1.14.1 | No fix listed |
| pypi eml-parser(PyPI) | = 1.14.2 | No fix listed |
| pypi eml-parser(PyPI) | = 1.14.3 | No fix listed |
| pypi eml-parser(PyPI) | = 1.14.4 | No fix listed |
| pypi eml-parser(PyPI) | = 1.14.5 | No fix listed |
| pypi eml-parser(PyPI) | = 1.14.6 | No fix listed |
| pypi eml-parser(PyPI) | = 1.14.7 | No fix listed |
| pypi eml-parser(PyPI) | = 1.14.8 | No fix listed |
Show 22 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi eml-parser(PyPI) | = 1.15.0 | No fix listed |
| pypi eml-parser(PyPI) | = 1.16.0 | No fix listed |
| pypi eml-parser(PyPI) | = 1.17.0 | No fix listed |
| pypi eml-parser(PyPI) | = 1.17.1 | No fix listed |
| pypi eml-parser(PyPI) | = 1.17.2 | No fix listed |
| pypi eml-parser(PyPI) | = 1.17.3 | No fix listed |
| pypi eml-parser(PyPI) | = 1.17.4 | No fix listed |
| pypi eml-parser(PyPI) | = 1.17.5 | No fix listed |
| pypi eml-parser(PyPI) | = 1.3 | No fix listed |
| pypi eml-parser(PyPI) | = 1.4 | No fix listed |
| pypi eml-parser(PyPI) | = 1.5 | No fix listed |
| pypi eml-parser(PyPI) | = 1.6 | No fix listed |
| pypi eml-parser(PyPI) | = 1.7 | No fix listed |
| pypi eml-parser(PyPI) | = 1.8 | No fix listed |
| pypi eml-parser(PyPI) | = 1.9 | No fix listed |
| pypi eml-parser(PyPI) | = 2.0.0 | No fix listed |
| pypi eml-parser(PyPI) | = 2.0.1 | No fix listed |
| pypi eml-parser(PyPI) | = 3.0.0 | No fix listed |
| pypi eml-parser(PyPI) | = 3.0.1 | No fix listed |
| pypi eml-parser(PyPI) | = 3.0.2 | No fix listed |
| pypi eml-parser(PyPI) | = 3.0.3 | No fix listed |
| azure linux perl-XML-Parser(Azure Linux:4.0) | All versions | No fix listed |
References
- https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-m4g8-47f9-h588 vendor-advisory
- https://github.com/GOVCERT-LU/eml_parser/commit/54ea6e9f54fecda3059283ccdb6a6fd99e7ce92f patch
- https://github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.4
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-126577 third-party-advisory