CVE-2026-129307
eml_parser serves as a python module for parsing eml files and …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/GOVCERT-LU/eml_parser/commit/54ea6e9f54fecda3059283ccdb6a6fd99e7ce92f
- github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.4
- github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-m4g8-47f9-h588
- nvd.nist.gov/vuln/detail/CVE-2026-129307
- github.com/advisories/GHSA-m4g8-47f9-h588
- nvd.nist.gov/vuln/detail/CVE-2026-129307
- cve.org/CVERecord?id=CVE-2026-129307
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.