CVE-2026-129307
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.
- Severity: Medium
- CVSS 5.3
- EPSS 0.51%
- Public exploit
- P4 · Track
Why P4: track.
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.
Affected products
- pip eml-parser <= 3.0.3; first patched: 3.0.4
Weakness
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub