p PatchFirst

CVE-2026-129307

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

CVSS 5.3 · Medium · EPSS 0.5% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

pip show eml-parser

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Stack: python

Affected products and versions

  • eml_parser

    Versions
    • < 3.0.4: Affected

    No fix published

  • eml-parser PyPI

    Versions
    • 0.9
    • 1.0
    • 1.1
    • 1.10
    • 1.11
    • 1.11.1
    All versions (43)
    • 1.11.2
    • 1.11.4
    • 1.11.5
    • 1.11.6
    • 1.11.7
    • 1.12.0
    • 1.13.0
    • 1.14.0
    • 1.14.1
    • 1.14.2
    • 1.14.3
    • 1.14.4
    • 1.14.5
    • 1.14.6
    • 1.14.7
    • 1.14.8
    • 1.15.0
    • 1.16.0
    • 1.17.0
    • 1.17.1
    • 1.17.2
    • 1.17.3
    • 1.17.4
    • 1.17.5
    • 1.3
    • 1.4
    • 1.5
    • 1.6
    • 1.7
    • 1.8
    • 1.9
    • 2.0.0
    • 2.0.1
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.0.3
    Affected ranges
    • ECOSYSTEM: < 3.0.4

    Update to 3.0.4

Original sources

Check your server →