Intel

AIKIDO-2026-680687

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

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 29, 2026
July 29, 2026

53

CVE Score

Medium

Denial of Service (DoS)

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.

How do I fix this?

Upgrade the eml-parser library to the patch version.

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.

Package

Versions

1.17.1 - 3.0.2

Fixed in 3.0.3

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea