Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to IMAP with valid mailbox credentials
-
DeliverySend crafted FETCH/SEARCH command with pathological length or element count
-
ExploitTrigger quadratic CPU cost and disproportionate memory retention
-
ExecutionSaturate worker pool shared with SMTP/POP3
-
ImpactIMAP, SMTP and POP3 services stop responding
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
|
| Exploitation Conditions | Requires an authenticated session on the IMAP service (a signed-in mailbox account), matching PR:L - unauthenticated attackers cannot trigger it. The condition is specific IMAP commands whose cost scales quadratically: a FETCH with a BODY[] section normalised via case-insensitive replacement, a FETCH naming a message's sections very many times, a long SEARCH TEXT key scanned against message bodies, or SEARCH set/$, SORT, HEADER.FIELDS name lists, and UID ranges re-evaluated once per message. Exploitation is amplified by non-synchronizing IMAP literals letting one command reach ~11 MB. Limiting factors: valid credentials are mandatory, affected versions are 6.0.0 through 6.3.5 (fixed in 6.3.6), and impact is confined to service availability (no data disclosure or modification). The shared SMTP/POP3/IMAP worker pool means impact extends beyond IMAP once the pool is starved. |
| Impact | This is a genuine but bounded availability risk, not a top-tier emergency. The vendor CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H = 6.5 Medium) is internally consistent with the description: a network-reachable IMAP service, low attack complexity, and a required signed-in account (PR:L), producing only availability impact (A:H) with no confidentiality or integrity loss. The amplifying factor emphasized by the vendor is that the IMAP worker pool is shared with SMTP and POP3, so exhausting it degrades all three mail services - a larger blast radius than a single-protocol DoS. No EPSS score, CISA KEV listing, or public POC is present in the provided data, so there is no evidence of active exploitation; per the precision rules this is 'no public exploit identified at time of analysis.' The algorithmic-complexity nature (CWE-407) means exploitation is reliable and cheap once authenticated, but the PR:L requirement limits it to attackers who already hold valid mailbox credentials, substantially narrowing the realistic threat population to insiders or compromised accounts. Net: a legitimate patch-soon issue for exposed hMailServer instances, not a widespread drive-by threat. One note of caution - the input Tags list 'Information Disclosure,' which directly contradicts the C:N (no confidentiality impact) in the CVSS vector; treat the tag as erroneous, not as evidence of data exposure. |
| Exploit ScenarioDerived | An attacker with valid credentials for any mailbox (or who has phished/compromised one) connects to the IMAP service and issues a single crafted command - for example a FETCH naming a message's BODY[] sections thousands of times, or a long SEARCH TEXT key - exploiting the quadratic-time parsing and per-message re-reading. Because one command can stretch to roughly eleven megabytes via non-synchronizing literals and the server holds disproportionate memory, a small number of such requests saturates the shared worker pool and exhausts memory. No public exploit code is identified at time of analysis, but the attack is deterministic and trivial to reproduce given the detailed description. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Authenticated IMAP users can make hMailServer 6.0.0 through 6.3.5 stop responding and consume excessive memory, because several IMAP command parsers do work that grows quadratically with the length of a command or the number of elements it names. The issue requires a valid signed-in mailbox account (CVSS PR:L, AV:N, AC:L) and causes availability impact only (A:H, no confidentiality or integrity impact, CVSS 6.5). No public exploit code has been identified at time of analysis and the issue is not confirmed actively exploited (CISA KEV); a vendor fix is available in release 6.3.6.
RemediationAI
Vendor-released patch: upgrade to hMailServer 6.3.6, which is the first release containing the fix (https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6); remediation detail is in the upstream work item https://gitlab.com/hmailserver/hmailserver/-/work_items/68. Where an immediate upgrade is not possible, compensating controls are required because the flaw needs only a valid mailbox account: restrict IMAP access to trusted networks or require VPN/TLS client access so untrusted users cannot hold an authenticated session (trade-off: legitimate remote mail clients lose direct access); enforce per-account connection and command rate limits at an IMAP-aware reverse proxy or firewall, and cap the maximum command/literal size well below the ~11 MB reachable through non-synchronizing literals (trade-off: may break large message uploads and bulk operations); and monitor IMAP worker-pool saturation and server memory so a starving pool is detected before SMTP and POP3 delivery also stall. Note that splitting the shared IMAP/SMTP/POP3 worker pool is not exposed as a product configuration option, so isolation must come from restricting IMAP to trusted accounts and limiting concurrent authenticated sessions.
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), with a secondary exhaustion effect matching CWE-400 (uncontrolled resource consumption). hMailServer's IMAP parser normalises a FETCH BODY[] section using a case-insensitive string replacement that copies the entire data item once per occurrence, and splits the item list by repeatedly copying the remaining tail of the command, so cost scales with the square of input size. Its case-insensitive substring search compares the needle from scratch at every position, making a long SEARCH TEXT key over a message cost the product of the two lengths. SEARCH message sets, the saved-result marker ($), SORT criteria, HEADER.FIELDS name lists, and UID ranges are each re-read once per message instead of once per command. A FETCH that names a message's sections very many times reads and holds every section in memory before sending anything. Because IMAP permits non-synchronizing literals, a single command can continue past one line and reach roughly 11 MB, and because the IMAP worker threads come from a small pool shared with SMTP and POP3, one signed-in user can starve all three services.
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:L/UI:N/S:U/C:N/I:N/A:H
Network-reachable IMAP, trivial crafted command (AC:L), but a signed-in account is required (PR:L); only availability is affected, so C:N/I:N/A:H, scope unchanged.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
1DescriptionCVE.org
Progressive Robot hMailServer 6.0.0 through 6.3.5 processes several IMAP commands from a signed-in account in time quadratic in the command's length or in the number of elements it names, and can be made to hold memory out of proportion to a command. The FETCH data-item parser normalised a BODY[] section with a case-insensitive string replacement that copied the whole item per occurrence and split the item list by repeatedly copying the remainder of the command; the server's case-insensitive search compared a needle afresh at every position, so a long SEARCH TEXT key over a message cost the product of the two lengths; SEARCH message sets and the saved-result marker ($), SORT criteria, HEADER.FIELDS name lists and UID ranges were each read once per message rather than once per command; and a FETCH naming a message's sections very many times read and held every section in memory before sending any. An IMAP command may continue past one line through non-synchronizing literals, so one command can reach about eleven megabytes. The IMAP worker threads are a small pool shared with SMTP and POP3, so a signed-in user sending such commands can make the IMAP, SMTP and POP3 services stop responding (CWE-407) and can consume excessive memory (CWE-400).
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-94863
GHSA-45mp-xx9j-6p9v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB