Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft EML with deeply nested CFWS parentheses in address header
-
DeliveryDeliver file to pipeline via email gateway or upload channel
-
Exploiteml_parser invokes email.utils.getaddresses() on address header
-
ExecutionRecursive descent exhausts Python call stack
-
PersistUncaught RecursionError propagates through eml_parser
-
ImpactMessage 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Crafted EML deliverable over the network with no credentials or interaction required; impact is partial availability only, no confidentiality or integrity loss.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-65703
GHSA-m66c-fw79-6359
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB