Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTML-only email with many entity references
-
DeliveryRecipient webmail lists folder (or IMAP PREVIEW)
-
ExploitQuadratic entity decoding pins a worker thread
-
ExecutionRepeat to exhaust all listener threads
-
ImpactWebmail, 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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).
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
1DescriptionCVE.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
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
More in Hmailserver
View allArbitrary JScript execution in Progressive Robot Ltd's hMailServer 6.0.0 through 6.3.3 on Windows lets an unauthenticate
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
Cross-tenant configuration takeover in hMailServer 6.0.0 through 6.3.6 lets an authenticated user holding only a domain-
Cross-site scripting in Progressive Robot hMailServer 6.3.2 through 6.3.5 can let a remote, unauthenticated attacker exe
Local privilege escalation in Progressive Robot hMailServer 6.2.3 through 6.3.7 on Windows allows an authenticated local
Local privilege escalation in the Windows installer of Progressive Robot hMailServer 6.0.0 through 6.3.7 lets a local au
Incorrect authorization in the COM administration API of hMailServer 6.3.4 through 6.3.6 lets a credential holding the s
Local privilege escalation in Progressive Robot hMailServer 6.0.0 through 6.3.6 allows any authenticated, non-administra
Incorrect default permissions in the Windows installer for Progressive Robot hMailServer 6.0.0 through 6.3.5 let any loc
Heap-based buffer overflow in hMailServer 6.0.0 through 6.3.3 on Windows lets a local interactive user - with no hMailSe
Local privilege escalation in hMailServer 6.0.0 through 6.3.5 on Windows allows an authenticated local user-one with an
Local privilege escalation in Progressive Robot hMailServer 6.3.4 and 6.3.5 on Linux allows an attacker who already has
EUVD-2026-94864
GHSA-fh2m-q9cx-5h7c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB