Security mailing lists by PureSourceCode

CVE-2026-129307

MEDIUM 5.3CVSS 3.1

eml_parser: Algorithmic-complexity DoS (O(n^4) regex backtracking) in Received-header parsing

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.

Published
16 Nov 2026
Last modified
19 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-1333CWE-407
Also known as
GHSA-m4g8-47f9-h588
Sources
NVDJSONOSV GHSA-m4g8-47f9-h588JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI eml-parser < 3.0.4 3.0.4

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 16 Nov 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.