Skip to main content

hMailServer CVE-2026-107580

| EUVDEUVD-2026-94862 MEDIUM
Inefficient Algorithmic Complexity (CWE-407)
2026-10-08 GitLab GHSA-6877-qwxc-rh5c
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 crafted email with RFC 2047 encoded header
  2. Exploit
    Victim client searches/sorts/threads folder triggering quadratic unfold
  3. Impact
    Shared worker threads exhausted, IMAP/SMTP/POP3/webmail unavailable

Vulnerability Assessment

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

A remote unauthenticated attacker only needs to deliver one email to a recipient on the hMailServer (SMTP accepts the message) whose Subject or other header field carries an RFC 2047 encoded word that decodes to many line breaks. The expensive quadratic unfold is triggered when the recipient's IMAP client searches, sorts or threads the folder by a header, when webmail lists the folder, or - where configured - when a delivery rule tests a header (adding a spam tag to the Subject or reading an abuse report during delivery). Reading a multi-megabyte header is additionally costly because the file reader rescans everything read so far every 4,000 bytes. Limiting factors: affects only versions 6.0.0 through 6.3.5 (fixed in 6.3.6); sustained impact requires the poisoned header to actually be read - automatic only where header-testing delivery rules are enabled, otherwise dependent on victim IMAP/webmail activity (hence UI:R).

Impact

CVSS 3.1 base score is 6.5 (MEDIUM) with vector AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - a pure availability (denial-of-service) flaw reachable over the network by an unauthenticated attacker with low attack complexity, but gated by UI:R (a victim action or configured rule must read the poisoned header). No EPSS score, SSVC decision, or KEV entry was provided, and no public exploit is identified in the supplied data, so the only hard exploitation signals are the low-effort network reachability and the high availability impact. The real priority is moderate rather than urgent: the attack is cheap (send one crafted RFC 2047 message) and amplified (shared IMAP worker threads also serve SMTP and POP3, so a few messages can stall all services plus webmail), which raises practical concern above the raw MEDIUM score for internet-facing hMailServer instances. However, impact is confined to availability with no confidentiality or integrity loss, and sustained DoS generally depends on the message being read/processed - automatic only where header-testing delivery rules are configured, otherwise requiring victim client activity. Note a data conflict: the input Tags include 'Information Disclosure', which contradicts the CVSS impact metrics (C:N/I:N/A:H) and the description - this is an availability/DoS issue, not disclosure, and the tag should be disregarded. EPSS, KEV, POC, and SSVC data are all absent, so exploitation likelihood cannot be quantified from the provided intelligence.

Exploit ScenarioDerived

A remote unauthenticated attacker emails a victim on the hMailServer instance a message whose Subject (or another header) contains an RFC 2047 encoded word that decodes to a huge number of line breaks. When the recipient's IMAP client later searches, sorts or threads the folder, or webmail lists it, the server's quadratic header-unfolding routine pins a worker thread for minutes per read; because IMAP worker threads are shared with SMTP and POP3, a handful of such messages makes those services and webmail unresponsive. No public exploit code is identified at time of analysis, but the crafted message is trivial to construct.

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

Denial of service in Progressive Robot hMailServer 6.0.0 through 6.3.5 lets a remote unauthenticated sender stall the IMAP, SMTP, POP3 and webmail services by delivering a single message whose header field carries an RFC 2047 encoded word that decodes to a very large number of line breaks. The decoder unfolds such a value quadratically, so each read of the poisoned header can occupy a shared worker thread for minutes or longer; because IMAP worker threads are shared with SMTP and POP3, a handful of messages can render the mail services unresponsive. Exploitation is gated by user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, base 6.5 MEDIUM): the cost is incurred when a victim's IMAP client searches, sorts or threads by a header, when webmail lists the folder, or where header-testing delivery rules, Subject spam tagging or abuse-report reading are configured. No public exploit code and no CISA KEV entry were identified at time of analysis, and the vendor has released a fixed version.

RemediationAI

Upgrade to hMailServer 6.3.6, the vendor-released fix that removes the quadratic unfold and the rescanning header reader (release notes: https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6; tracking item: https://gitlab.com/hmailserver/hmailserver/-/work_items/69). If immediate upgrade is not possible, reduce exposure by disabling delivery rules that test arbitrary header fields, by turning off spam tagging that rewrites the Subject line, and by disabling abuse-report parsing during delivery - these are the paths that trigger the expensive decode automatically, and disabling them means a poisoned message only costs a thread when a victim's IMAP client or webmail explicitly searches, sorts or threads by a header, at the cost of losing that rule/tagging functionality. Restrict SMTP acceptance to trusted senders or a filtering relay and strip or reject oversized incoming header blocks at the MTA boundary as a compensating control, accepting that this can reject legitimate mail with long encoded headers. Because the IMAP worker threads are shared with SMTP and POP3, isolate or rate-limit those services and monitor for worker-thread exhaustion so that a single poisoned message can be identified and purged from affected mailboxes before the queue backs up. No public exploit code was identified at time of analysis, but the trigger is a single email and the exposure window should be treated as short.

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, in hMailServer's message header decoder. When unfolding a decoded header value, the server located each line break by scanning from the end of the value and removed it by shifting the remaining bytes, so total work grew with the square of the number of line breaks; an RFC 2047 encoded-word can decode to an arbitrary number of them, giving the attacker direct control of the quadratic term. A second inefficiency compounds the problem: when the server reads a header from its on-disk message file, it rescans everything read so far after each 4,000 bytes, so a header tens of megabytes in size costs seconds on its own. The affected component is the mail service core shared by the IMAP, SMTP and POP3 listeners and by the webmail-facing logic, which is why the thread exhaustion propagates across protocols. The CPE cpe:2.3:a:progressive_robot_ltd:hmailserver:*:*:*:*:*:*:*:* and the EUVD entry EUVD-2026-94862 both scope the issue to the 6.0.0 through 6.3.5 range (EUVD records it as 6.0.0 < 6.3.6). The accompanying tag set ('Information Disclosure') does not reflect the assessed impact, which is purely availability (C:N/I:N/A:H) with no confidentiality or integrity component.

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 a crafted header (AV:N/AC:L/PR:N); impact triggers on read/processing of the header (UI:R); availability-only DoS (A:H, C:N/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 decoding of message header fields in Progressive Robot hMailServer 6.0.0 through 6.3.5 allows a remote unauthenticated attacker to make the IMAP, SMTP and POP3 services, or the webmail, unavailable by sending a message. The server unfolded a decoded header value by finding each line break from the end of the value and removing it, moving the rest of the value each time, so its work grew with the square of the number of line breaks, and an RFC 2047 encoded word may decode to any number of them. A received message whose Subject or other header field holds such a value keeps a worker thread busy for minutes or longer each time the value is read: when the recipient's IMAP client searches, sorts or threads the folder by a header, when the webmail lists the folder, and, where configured, when a rule tests a header, a spam tag is added to the Subject or an abuse report is read during delivery. The IMAP worker threads are shared with SMTP and POP3, so a few such messages stop those services responding. The server's reading of a message header from its file also searched everything read so far after each 4,000 bytes, costing seconds for a header of tens of megabytes.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
niche open-source Windows mail server, mostly small-business/hobby footprint
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