Skip to main content

hMailServer CVE-2026-107582

| EUVDEUVD-2026-94864 MEDIUM
Inefficient Algorithmic Complexity (CWE-407)
2026-10-08 GitLab GHSA-fh2m-q9cx-5h7c
6.5
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Send HTML-only email with many entity references
  2. Delivery
    Recipient webmail lists folder (or IMAP PREVIEW)
  3. Exploit
    Quadratic entity decoding pins a worker thread
  4. Execution
    Repeat to exhaust all listener threads
  5. Impact
    Webmail, admin console and REST API unavailable

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

Requires that the attacker can deliver an email (open/receiving SMTP) to a mailbox on an affected hMailServer (6.2.22-pre1 through 6.3.5) whose message is HTML-only - it must have an HTML part and NO text part - and carries a very large number of HTML character entity references. The expensive decode is triggered only when the server builds a folder snippet: either the recipient lists the folder in webmail (REST API path, 6.3.3-6.3.5) or an IMAP client issues a PREVIEW request (IMAP path, 6.2.22-6.3.5); the message does not need to be opened. Key limiting factors: exploitation is availability-only, depends on victim-side folder listing or PREVIEW (UI:R), and is bounded by the listener having only four worker threads - so a few crafted messages suffice, but no persistent/receive-time trigger exists.

Impact

This is a genuine but moderate-priority availability issue, not a confidentiality/integrity threat. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, base 6.5) shows a network-reachable, low-complexity, unauthenticated DoS whose only impact is availability - consistent with CWE-407 (algorithmic complexity) and the description's quadratic string replace/remove. The one meaningful brake is UI:R: the denial of service does not fire on message receipt but only when the recipient's webmail lists the folder (or an IMAP client requests the PREVIEW), so exploitation depends on victim-side activity rather than being fully attacker-driven. No EPSS score, CISA KEV entry, or public PoC is present in the provided data, so there is no evidence of active exploitation or weaponization; the realistic risk is service disruption of webmail/admin console/REST API rather than compromise. Signals are internally consistent (availability-only vector matches the DoS description), with no CVSS-vs-description conflict. The input Tag 'Information Disclosure' directly contradicts the vector (C:N) and the description - treat it as mislabeled, not as evidence of data exposure.

Exploit ScenarioDerived

An attacker sends an ordinary SMTP email to a hMailServer mailbox, crafting an HTML-only body (no text part) that contains a very large number of HTML character entity references. When the recipient simply lists that folder in webmail - or an IMAP client requests a PREVIEW - the server's quadratic entity-decoding routine pins one of the four worker/IMAP threads for minutes; a handful of such messages exhausts the listener and renders webmail, the admin console, and the REST API unresponsive. No public exploit identified at time of analysis, though the technique is simple to reproduce from the description.

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 – Oct 08, 2026

A remote, unauthenticated attacker can degrade or fully stall Progressive Robot hMailServer (6.2.22-pre1 through 6.3.5) by sending a single HTML-only email whose body contains a very large number of character entity references, because the server's shared string class performs entity decoding with a replace/remove implementation whose cost grows with the square of the number of entities (CWE-407). The expensive decode runs only when the server builds a folder snippet - when the recipient lists the folder in webmail via the REST API (6.3.3-6.3.5) or when an IMAP client issues a PREVIEW request (6.2.22-6.3.5) - and the message never has to be opened; each such listing can pin one of the listener's four worker threads for minutes, so a handful of crafted messages leaves webmail, the administration console and the REST API unable to answer anyone. Impact is availability-only (CVSS 6.5, AV:N/AC:L/PR:N/UI:R, C:N/I:N/A:H) and depends on victim-side interaction (folder listing or PREVIEW); no public exploit code was identified at time of analysis. The vendor has released 6.3.6, which resolves the quadratic behaviour.

RemediationAI

Upgrade to hMailServer 6.3.6, the vendor-released patch that eliminates the quadratic entity-decoding path (release notes: https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6; upstream work item: https://gitlab.com/hmailserver/hmailserver/-/work_items/67). Until the upgrade can be staged, apply compensating controls that remove the trigger rather than the exploit: add server-side content-filter rules that quarantine or drop HTML-only messages (multipart/alternative or text/html with no text/plain part) whose entity-reference density exceeds a normal threshold - this blocks the trigger at receive time, but it can suppress legitimate heavily-escaped HTML marketing mail, so tune thresholds and monitor quarantines before enforcing. Reduce the snippet-decoding attack surface by disabling webmail folder-preview/snippet generation or restricting IMAP PREVIEW-capable clients where operationally feasible; be aware this changes the user experience for all mailbox owners. If the above are impractical, front the hMailServer listener with a gateway that rate-limits folder-list/listing requests per session and rejects repeated listings of the same folder, accept that raising the worker-thread count only raises the bar (the attack cost scales with thread availability), and plan the 6.3.6 upgrade as the definitive fix. Note that exploitation requires the recipient to list the affected folder or request a PREVIEW, so user awareness/triage of suspicious HTML-only messages offers marginal additional protection but is not a substitute for patching.

Affected VersionsENISA

hMailServer 6.2.22-pre1 <6.3.6

Affected Packages

euvd hmailserver fix: 6.3.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The root cause is CWE-407 (Inefficient Algorithmic Complexity) in hMailServer's shared string class: both its replace and remove operations execute in quadratic (O(n²)) time. When generating the short message snippet shown in a folder listing, the server decoded HTML character entity references of any message that has an HTML part and no plain-text part using repeated string replacement, so the work scaled with the square of the entity count rather than linearly. A single HTML-only message with an extreme number of entity references therefore consumes CPU for minutes each time the snippet is produced. The affected execution surfaces are the REST API snippet path in builds 6.3.3 through 6.3.5, and the IMAP PREVIEW response in builds 6.2.22 through 6.3.5, which reads the same text through the same decoder; every IMAP client requesting a preview of the crafted message holds one IMAP thread, and concurrent folder listings exhaust the four-thread listener. No authentication, confidentiality or integrity impact is involved - the attack only delays or prevents legitimate responses. The affected product is tracked as cpe:2.3:a:progressive_robot_ltd:hmailserver:*:*:*:*:*:*:*:* (EUVD lists hMailServer 6.2.22-pre1 < 6.3.6).

Know when Hmailserver 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 (GitLab) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Unauthenticated attacker emails the server (AV:N/PR:N/AC:L), but the quadratic decode fires only on recipient folder listing or IMAP PREVIEW (UI:R); impact is availability-only (A:H, C/I:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitLab).

CVSS VectorVendor: GitLab

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

Lifecycle Timeline

1
Patch available
Oct 08, 2026 - 13:31 EUVD

DescriptionCVE.org

Inefficient algorithmic complexity in the REST API (6.3.3 through 6.3.5) and the IMAP PREVIEW response (6.2.22 through 6.3.5) of Progressive Robot hMailServer allows a remote unauthenticated attacker to make the webmail, the administration console and the REST API unavailable by sending a message. To show a snippet of each message in a folder's message list, the server decoded the character entity references of a message that has an HTML part and no text part with a string replacement whose work grew with the square of their number. A received HTML-only message holding a very large number of entity references therefore keeps one of the listener's four worker threads busy for minutes or longer each time the recipient's webmail lists the folder, without the message being opened, so that a few such listings leave the HTTP listener unable to answer anybody. The IMAP PREVIEW response read such text the same way, holding an IMAP thread for each client that asks for the preview of such a message. The flaw is in the server's shared string class, whose replace and remove both ran in quadratic time.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
niche open-source Windows mail server, mostly small-business/hobbyist deployments
Data Quality
4 sources
Confidence: Medium

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
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-100741 CRITICAL POC
9.8 Sep 27

Arbitrary JScript execution in Progressive Robot Ltd's hMailServer 6.0.0 through 6.3.3 on Windows lets an unauthenticate

CVE-2026-126617 HIGH
8.8 Nov 11

SQL injection in the database layer of hMailServer 6.0.0-B1 through 6.2.18 allows a remote attacker to alter the SQL sta

CVE-2026-114489 HIGH
8.1 Oct 21

Cross-tenant configuration takeover in hMailServer 6.0.0 through 6.3.6 lets an authenticated user holding only a domain-

CVE-2026-103647 HIGH
8.0 Oct 08

Cross-site scripting in Progressive Robot hMailServer 6.3.2 through 6.3.5 can let a remote, unauthenticated attacker exe

CVE-2026-126607 HIGH
7.8 Nov 11

Local privilege escalation in Progressive Robot hMailServer 6.2.3 through 6.3.7 on Windows allows an authenticated local

CVE-2026-126612 HIGH
7.8 Nov 11

Local privilege escalation in the Windows installer of Progressive Robot hMailServer 6.0.0 through 6.3.7 lets a local au

CVE-2026-114490 HIGH
7.8 Oct 21

Incorrect authorization in the COM administration API of hMailServer 6.3.4 through 6.3.6 lets a credential holding the s

CVE-2026-107571 HIGH
7.8 Oct 19

Local privilege escalation in Progressive Robot hMailServer 6.0.0 through 6.3.6 allows any authenticated, non-administra

CVE-2026-107573 HIGH
7.8 Oct 08

Incorrect default permissions in the Windows installer for Progressive Robot hMailServer 6.0.0 through 6.3.5 let any loc

CVE-2026-103010 HIGH
7.8 Oct 08

Heap-based buffer overflow in hMailServer 6.0.0 through 6.3.3 on Windows lets a local interactive user - with no hMailSe

CVE-2026-104660 HIGH
7.8 Oct 08

Local privilege escalation in hMailServer 6.0.0 through 6.3.5 on Windows allows an authenticated local user-one with an

CVE-2026-104658 HIGH
7.8 Oct 08

Local privilege escalation in Progressive Robot hMailServer 6.3.4 and 6.3.5 on Linux allows an attacker who already has

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