Skip to main content

hMailServer CVE-2026-107581

| EUVDEUVD-2026-94863 MEDIUM
Inefficient Algorithmic Complexity (CWE-407)
2026-10-08 GitLab GHSA-45mp-xx9j-6p9v
6.5
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to IMAP with valid mailbox credentials
  2. Delivery
    Send crafted FETCH/SEARCH command with pathological length or element count
  3. Exploit
    Trigger quadratic CPU cost and disproportionate memory retention
  4. Execution
    Saturate worker pool shared with SMTP/POP3
  5. Impact
    IMAP, 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

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

hMailServer 6.0.0 <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), 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

Vendor (GitLab) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/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
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

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

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche free 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.2%
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