{"id":"CVE-2026-129307","published":"2026-11-16T18:01:59Z","modified":"2026-11-17T22:27:19Z","title":"eml_parser: Algorithmic-complexity DoS (O(n^4) regex backtracking) in Received-header parsing","vendor":"GOVCERT-LU","product":"eml_parser","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00464,"percentile":0.40974,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-m4g8-47f9-h588","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/GOVCERT-LU/eml_parser/commit/54ea6e9f54fecda3059283ccdb6a6fd99e7ce92f","tags":["x_refsource_MISC"]},{"url":"https://github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.4","tags":["x_refsource_MISC"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":8.19},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-22","earliestUrl":"https://github.com/googlesky/CVE-2026-129307","repos":[{"name":"googlesky/CVE-2026-129307","url":"https://github.com/googlesky/CVE-2026-129307","stars":0,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/googlesky/CVE-2026-129307"},"provenance":"source"},"vendorSlug":"govcert-lu","affectedVersions":[{"vendor":"GOVCERT-LU","product":"eml_parser","versions":["< 3.0.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-17T22:07:06.659930Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"eml-parser","vulnerableRanges":["<3.0.4"],"patched":["3.0.4"],"from":["GHSA-m4g8-47f9-h588"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-126577","exploited":false,"provenance":"source"}}