Skip to main content

eml_parser CVE-2026-55620

| EUVDEUVD-2026-65704 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-08-25 GitHub_M GHSA-g7gc-gmgp-wgqg
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Craft small EML with deeply nested parentheses in Received: header
  2. Delivery
    Submit via SMTP or API to eml_parser-powered endpoint
  3. Exploit
    eml_parser calls noparenthesis on Received: header
  4. Install
    Quadratic regex loop iterates O(n²) times
  5. C2
    Worker CPU saturated for multiple seconds per message
  6. Execute
    Repeat submissions concurrently exhaust worker pool
  7. Impact
    Email 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 Received: header and requires no special server-side configuration beyond using the library in its default state. Exploitation is strictly limited to availability impact (CPU exhaustion, queue backpressure); there is no confidentiality or integrity exposure. Environments that process EML only from trusted internal sources or that apply async queueing with per-job resource limits face substantially reduced risk.

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 Received: header with 5,000 or more nested parentheses - a payload of only a few kilobytes - to an email gateway, sandbox, or triage API running eml_parser prior to 3.0.2. The noparenthesis function enters its quadratic regex loop and saturates a CPU core for approximately 1.3 seconds per message. By submitting a continuous stream of such messages concurrently, the attacker exhausts the worker pool, causing legitimate email processing to stall and potentially triggering service-level timeouts or outages.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

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 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

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

Email gateways accept untrusted network input with no authentication; impact is pure CPU availability exhaustion with zero confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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
High

Lifecycle Timeline

2
Patch available
Aug 25, 2026 - 20:06 EUVD
CVE Published
Aug 25, 2026 - 18:26 cve.org
HIGH 7.5

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.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche Python email-parsing library, limited enterprise production footprint
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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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