CVE-2026-129307: eml_parser · Algorithmic-complexity DoS (O(n^4) regex backtracking) in Received-header parsing
Affects eml-parserSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.0.4 when convenient.
Data as of 19 Nov 2026, 23:23 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 3.0.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 16 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade eml-parser to 3.0.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIeml-parser | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in eml-parser version 3.0.4 that resolves the algorithmic complexity vulnerability by removing the problematic static date suffix from the dynamic regex construction. Users should upgrade to version 3.0.4 or later to mitigate this issue. No other configuration or disabling options exist to avoid the vulnerable code path. Applying the official patch fully mitigates the risk.
Description
A regular expression denial of service (ReDoS) vulnerability exists in eml-parser versions prior to 3.0.4 in the Received-header parsing function. The vulnerability arises from a dynamically constructed regex with multiple greedy capture groups followed by a normalized date literal that may not match the original header line, causing catastrophic backtracking with O(n^4) complexity. This leads to high CPU usage and can hang parser workers on crafted email headers. The issue is fixed in version 3.0.4.
References
- github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-m4g8-47f9-h588 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-129307 (opens in a new tab)
- github.com/GOVCERT-LU/eml_parser/commit/54ea6e9f54fecda3059283ccdb6a6fd99e7ce92f (opens in a new tab)
- github.com/GOVCERT-LU/eml_parser (opens in a new tab)
- github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.4 (opens in a new tab)