Skip to main content

eml_parser CVE-2026-55619

| EUVDEUVD-2026-65703 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-08-25 GitHub_M GHSA-m66c-fw79-6359
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft EML with deeply nested CFWS parentheses in address header
  2. Delivery
    Deliver file to pipeline via email gateway or upload channel
  3. Exploit
    eml_parser invokes email.utils.getaddresses() on address header
  4. Execution
    Recursive descent exhausts Python call stack
  5. Persist
    Uncaught RecursionError propagates through eml_parser
  6. Impact
    Message parsing aborted, SOC triage output lost

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target system runs eml_parser (pip package) at a version below 3.0.2 and passes attacker-controlled EML files through eml_parser.decode_email() or eml_parser.decode_email_bytes() without wrapping the call in exception handling. The vulnerable code path is triggered specifically when parsing address-bearing headers (To, Cc, Bcc, From, Reply-To, Sender, and their Resent- variants) that contain deeply nested CFWS parenthetical comment constructs. Per the CVSS vector (PR:N), no authentication is required - the attacker need only deliver a crafted EML file through any channel the pipeline accepts. Exploitation is limited entirely to availability: confidentiality and integrity are unaffected. The impact is additionally bounded to the single message being parsed at the time of the crash; pipelines with multi-process architectures or proper exception handling will not experience broader outages. Non-vulnerable deployments include any caller that already wraps eml_parser in try/except, or any installation running version 3.0.2 or later.

Impact

The CVSS 3.1 base score of 5.3 (Medium) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L accurately reflects the threat profile: the vulnerability is trivially network-exploitable without credentials or user interaction, but impact is bounded to partial availability (A:L) with no confidentiality or integrity consequences. No EPSS data was supplied in the input, so probabilistic exploitation likelihood cannot be quantified. The CVE is not listed in CISA KEV, and no public proof-of-concept has been identified, making this a low-urgency issue relative to other medium-scored CVEs. Real-world risk is further constrained by the narrow deployment context: eml_parser is used specifically in SOC and security-tooling pipelines, not general-purpose infrastructure. The vendor advisory itself notes that the impact is mitigated because callers of eml_parser must already handle exceptions from other pathological inputs (e.g., deeply nested multipart messages that also trigger RecursionError), so a pipeline with existing exception handling absorbs this without failure. The combination of low prevalence, no confirmed exploitation, and existing partial mitigation makes this a patch-on-schedule rather than emergency-response priority for most organizations.

Exploit ScenarioDerived

An attacker who can submit EML files to a SOC pipeline - via a phishing email delivered to a monitored mailbox, an upload API, or a mail relay - crafts a message whose From or To header contains a deeply nested sequence of parenthetical CFWS comments (e.g., hundreds of levels of nested parentheses). When eml_parser processes the file and invokes email.utils.getaddresses() on that header, the recursive descent parser exhausts the Python call stack, raising a RecursionError that propagates uncaught and aborts parsing of the entire message. The SOC analyst receives no parsed output for that email, potentially allowing a malicious payload in the same message to evade automated triage. No public proof-of-concept has been identified, but constructing the trigger requires only knowledge of RFC 5322 CFWS syntax.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 25, 2026

Denial of service in GOVCERT-LU's eml_parser Python library (versions prior to 3.0.2) allows a network-reachable attacker to abort SOC pipeline email parsing by submitting a crafted EML file containing deeply nested CFWS (Comment/Folding White Space) constructs in address-bearing headers such as To, From, Cc, or Bcc. The RecursionError raised internally by Python's email.utils.getaddresses() propagates uncaught through eml_parser, halting analysis of the entire message rather than just the offending header. No public exploit or active exploitation has been identified at time of analysis; the vendor notes partial mitigation because callers already need to handle exceptions from other pathological EML inputs.

RemediationAI

Upgrade eml_parser to version 3.0.2 or later via pip (pip install --upgrade eml_parser), which catches RecursionError in the stdlib recursive descent parser and falls back to regex-based address extraction, as confirmed by the patch at https://github.com/GOVCERT-LU/eml_parser/commit/746a69f86443eb0b6a47f77db3cfe727c21f92b3 and the release at https://github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.2. For environments that cannot immediately upgrade, the vendor-recommended workaround is to wrap all calls to eml_parser.decode_email() or eml_parser.decode_email_bytes() in a broad try/except block that catches RecursionError (and ideally Exception) so that the pipeline logs and skips pathological messages rather than crashing; this has no functional side effects beyond graceful degradation on crafted or malformed inputs. Optionally, pre-filter incoming EML files to reject headers exceeding a reasonable length threshold before passing them to eml_parser, which reduces attack surface without blocking legitimate mail.

Affected VersionsENISA

eml_parser < 3.0.2

Affected Packages

pypi eml-parser fix: 3.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is rooted in eml_parser.parser.HeaderParser.header_fetch_parse (eml_parser/parser.py), which delegates address parsing for RFC 5322 address-bearing headers to Python's standard library email.utils.getaddresses(). That function uses a recursive descent parser to process CFWS (Comment and Folding White Space) constructs, which are legally nestable under RFC 5321/5322. Because no recursion depth limit is enforced, an artificially deep nesting of parenthetical comments exhausts the Python call stack. The root cause class is CWE-770 (Allocation of Resources Without Limits or Throttling): the library imposes no bound on recursion depth before invoking the stdlib parser, and prior to 3.0.2 did not catch the resulting RecursionError. The affected CPE is cpe:2.3:a:govcert-lu:eml_parser:*:*:*:*:*:*:*:*, covering the pip-distributed package. The fix in 3.0.2 wraps the stdlib call in a try/except RecursionError block and falls back to regex-based address extraction, and also rewrites the parenthesis-removal routine in eml_parser/routing.py from a quadratic regex loop to a linear stack-based traversal to eliminate a separate complexity issue.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Crafted EML deliverable over the network with no credentials or interaction required; impact is partial availability only, no confidentiality or integrity loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Aug 25, 2026 - 20:06 EUVD

DescriptionCVE.org

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. Prior to 3.0.2, eml_parser.parser.HeaderParser.header_fetch_parse in eml_parser/parser.py uses email.utils.getaddresses() to parse address-bearing e-mail headers. A deeply nested CFWS comment construct exhausts the standard-library recursive descent parser's call stack and raises RecursionError, which is not caught and therefore aborts parsing of the entire message. An attacker can disrupt SOC pipelines that process untrusted EML files, although callers already need to handle exceptions from malformed or pathological messages. This issue is fixed in version 3.0.2.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche Python library used in SOC and security-tooling pipelines
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA MSRC Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy