Intel

AIKIDO-2026-680687

eml-parser is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 29, 2026

53

Medium Risk

This Affects:

PYTHONeml-parser
1.17.1 - 3.0.2
Fixed in 3.0.3
Are you affected? Scan for Free

TL;DR

The headeremail2list() function in eml-parser extracts e-mail addresses from headers such as To, From, and Cc by parsing them with the Python standard library address parser. When a header carries an unquoted display name that ends in a bare period, such as Test.<test@example.com>, the standard library parser raises an exception that the library does not catch. The unhandled exception propagates out of the decoding routine and aborts parsing of the entire message, so a single crafted message can disrupt processing in pipelines that ingest untrusted e-mail. The fix wraps the address parsing in exception handling and falls back to regex-based extraction instead of letting the error propagate.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you parse untrusted e-mail whose address headers can contain an unquoted display name ending in a bare period.

Background info

eml-parser is vulnerable to Denial of Service (DoS) in versions 1.17.1 - 3.0.2.

How to fix this

Upgrade the eml-parser library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform