Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft small EML with deeply nested parentheses in Received: header
-
DeliverySubmit via SMTP or API to eml_parser-powered endpoint
-
Exploiteml_parser calls noparenthesis on Received: header
-
InstallQuadratic regex loop iterates O(n²) times
-
C2Worker CPU saturated for multiple seconds per message
-
ExecuteRepeat submissions concurrently exhaust worker pool
-
ImpactEmail processing throughput collapses
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 an attacker be able to submit EML files to a system running eml_parser prior to 3.0.2 - typically via an email gateway accepting inbound SMTP from the internet, a REST API ingesting EML uploads, or a malware sandbox or triage pipeline. The CVSS vector PR:N confirms no authentication is required when the endpoint accepts externally submitted email, which is the standard case for inbound email gateways. The vulnerability is triggered purely by the content of the |
| Impact | The CVSS 7.5 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately captures the key risk dimensions: the attack surface is any network-accessible endpoint that accepts EML input, complexity is negligible, and no credentials are needed against a default deployment. EPSS data was not provided, so exploitation probability cannot be quantified numerically. KEV status is not confirmed - this CVE is not listed in CISA KEV at time of analysis, meaning active exploitation has not been publicly validated by a government body. The absence of a weaponized public exploit lowers urgency somewhat, but the algorithmic nature of the flaw means any developer familiar with the advisory description can construct a proof-of-concept payload independently within minutes. Real-world impact is concentrated in synchronous email-processing pipelines - gateways and triage APIs - where per-message latency spikes directly degrade queue throughput. The attack payload is small enough to evade size-based filtering, making network-layer mitigations limited in effectiveness. For deployments running eml_parser in an asynchronous or rate-limited context the practical risk is lower, but synchronous gateways should treat this as high priority. |
| Exploit ScenarioDerived | An attacker submits an EML file containing a single |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 25, 2026
CPU exhaustion denial-of-service in eml_parser (Python pip package, versions prior to 3.0.2) stems from a quadratic-time regex fix-point loop in the noparenthesis function used to strip parenthesized CFWS comments from Received: email headers. Remote, unauthenticated attackers can submit small, specially crafted EML files containing deeply nested parentheses that consume multiple seconds of CPU time per parsed message, degrading throughput and causing queue backpressure or service-level outages in synchronous email gateways, sandboxes, and real-time triage pipelines. No public exploit has been identified at time of analysis, but the attack is trivially reproducible from first principles using only the published advisory description.
RemediationAI
Upgrade eml_parser to version 3.0.2 or later immediately via pip install 'eml_parser>=3.0.2'. The fix is confirmed in the vendor GitHub release at https://github.com/GOVCERT-LU/eml_parser/releases/tag/v3.0.2 and implemented in pull request https://github.com/GOVCERT-LU/eml_parser/pull/90, which replaces the quadratic regex fix-point loop with a linear-time stack-based parser, eliminating the root cause entirely. If an immediate upgrade is not feasible, consider these compensating controls with their trade-offs: enforce a maximum length limit on Received: headers before passing EML content to eml_parser (trade-off: legitimate messages relayed through many hops with verbose CFWS annotations may be truncated or rejected); apply per-message or per-thread CPU/wall-clock timeouts at the pipeline orchestration layer (trade-off: timed-out messages will require manual reprocessing or will be dropped silently); or rate-limit EML submission from untrusted sources to reduce the attacker's ability to sustain a queue-flooding attack (trade-off: may also throttle legitimate high-volume inbound traffic).
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 in eml_parser/routing.py within the noparenthesis function, which strips RFC 5321/5322 Comments Folding Whitespace (CFWS) parenthesized annotations from Received: headers. The vulnerable implementation uses a while True loop that repeatedly applies the regex \([^()]*\) until no innermost parentheses remain - a fix-point approach with O(n²) time complexity in nesting depth, because each pass removes one layer, requiring approximately n regex passes over a string of length proportional to n. With 5,000 nested parentheses the function requires ~5,000 regex passes, yielding the observed ~1.3-second saturation time, with runtime quadrupling per nesting-depth doubling. CWE-770 (Allocation of Resources Without Limits or Throttling) precisely characterizes the root cause: attacker-controlled input drives unbounded CPU allocation with no depth limit, timeout, or resource cap. The affected CPE is cpe:2.3:a:govcert-lu:eml_parser:*:*:*:*:*:*:*:*. The fix in v3.0.2 replaces the regex loop with a linear-time stack-based algorithm that processes the string in a single pass.
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:H
Email gateways accept untrusted network input with no authentication; impact is pure CPU availability exhaustion with zero confidentiality or integrity effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.routing.noparenthesis in eml_parser/routing.py removes parenthesized CFWS comments from Received: headers with a regex-based fix-point loop whose running time is quadratic in the nesting depth. A single Received: header with 5,000 nested parentheses causes approximately 1.3 seconds of CPU saturation per parsed message, and doubling the nesting depth approximately quadruples the running time. An attacker can submit relatively small EML files that consume multiple seconds of processing time, causing worker latency, queue backpressure, and possible service-level outages in synchronous gateways, sandboxes, and real-time triage pipelines. This issue is fixed in version 3.0.2.
Executive ViewAI
eml_parser, a widely-deployed Python email parsing library, contains a denial-of-service vulnerability (no public exploit identified at time of analysis) allowing remote, unauthenticated attackers to exhaust CPU resources through specially crafted EML files with nested parentheses. A single malicious message can consume multiple seconds of processing time, degrading email gateway throughput and potentially causing service outages in security infrastructure systems. Organizations running versions prior to 3.0.2 face immediate risk to email availability and synchronous processing pipelines.
Apply vendor patch.
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-65704
GHSA-g7gc-gmgp-wgqg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB