Skip to main content

hMailServer CVE-2026-107575

| EUVDEUVD-2026-94857 MEDIUM
Inefficient Algorithmic Complexity (CWE-407)
2026-10-08 GitLab GHSA-qcpx-92mh-q44f
5.3
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Register attacker-controlled domain
  2. Delivery
    Publish crafted SPF record with long macro expansion
  3. Exploit
    Send email from that domain to hMailServer
  4. Execution
    Server runs quadratic SPF label-stripping
  5. Impact
    Worker-thread time exhausted, partial availability loss

Vulnerability Assessment

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

Exploitation requires that hMailServer perform an SPF check on an inbound message, i.e. SPF validation must be enabled and the attacker must be able to deliver mail from a domain whose DNS they control. The attacker must publish an SPF record for that domain containing a mechanism whose domain-spec uses macros that expand to a name exceeding 253 characters, triggering the quadratic label-stripping path in RFC 7208 §7.1 handling. Limiting factors: the impact is bounded by SPF's per-term and per-macro limits (so availability loss is partial, measured in seconds per message rather than a full outage); only hMailServer versions 6.3.4 and 6.3.5 on the SPF-checking path are affected, and the flaw is fixed in 6.3.6. No authentication or user interaction is needed.

Impact

This is a genuinely low-to-moderate priority issue, and the raw CVSS of 5.3 (MEDIUM) accurately reflects it rather than overstating it. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L describes a network-reachable, low-complexity, unauthenticated flaw with no privileges or user interaction, but with ONLY a partial availability impact and zero confidentiality or integrity impact - fully consistent with a CWE-407 (Inefficient Algorithmic Complexity) resource-consumption bug. No EPSS score, KEV listing, or SSVC decision data was provided in the input, and there is no public exploit identified at time of analysis, so there is no signal of active or probable exploitation. The one point of friction worth flagging: the input Tags label this 'Information Disclosure', which directly contradicts the CWE-407 classification and the C:N/I:N/A:L vector - there is no confidentiality dimension to this bug, so that tag is mislabeled and should be read as a data-entry error, not evidence of a disclosure risk. Because SPF's own per-term and per-macro limits bound the expansion, the description itself characterizes the availability loss as partial (seconds of worker-thread time per crafted message), aligning with A:L rather than A:H. Overall this is a correctly-rated MEDIUM denial-of-service amplification issue, not a high-CVSS-but-low-real-risk mislabel nor an under-rated sleeper.

Exploit ScenarioDerived

An attacker registers or controls a domain and publishes an SPF record whose mechanism domain-spec expands, through SPF macros, into a name far longer than 253 characters. They then send email from that domain to a victim running hMailServer 6.3.4 or 6.3.5; when the server performs the SPF check, the quadratic label-stripping routine consumes several seconds of worker-thread time per message. No public exploit code was identified at time of analysis, but the attack requires only publishing a DNS record and sending mail, with no authentication.

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

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

Alert me

AnalysisAIv1 – Oct 08, 2026

Quadratic algorithmic complexity in the SPF macro-expansion path of hMailServer 6.3.4 and 6.3.5 allows a remote, unauthenticated attacker to consume worker-thread time by sending mail from a domain whose SPF record they control and which expands through macros to a domain name far longer than 253 characters, making each SPF check take several seconds. The attack requires SPF validation to be enabled on an inbound path and is bounded by SPF's own per-term and per-macro limits, so the resulting availability loss is partial rather than a complete outage. No public exploit code has been identified at time of analysis, and a vendor patch (6.3.6) is available; the 5.3 MEDIUM CVSS score reflects a low-to-moderate priority issue in which impact is confined to availability (C:N/I:N/A:L).

RemediationAI

Vendor-released patch: upgrade to hMailServer 6.3.6, which is the first version containing the corrected RFC 7208 section 7.1 label-dropping logic (release notes and binaries at https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6, technical detail at https://gitlab.com/hmailserver/hmailserver/-/work_items/74). If immediate upgrade is not possible on 6.3.4 or 6.3.5, the most effective compensating control is to disable SPF checking for inbound mail (Configuration > Anti-spam > SPF), which removes the vulnerable code path entirely at the cost of losing sender-policy enforcement and increasing exposure to forged-envelope spam and phishing; this trade-off should be documented and reverted after patching. Additional short-term measures that reduce exposure without removing SPF include rate-limiting or throttling connections and messages per source IP and lowering the worker-thread pool's tolerance for slow handlers, but these only blunt the effect since the amplification occurs inside a single SPF evaluation and does not depend on request volume; there is no configuration flag that shortens the macro-expansion path, so patching to 6.3.6 remains the only complete fix.

Affected VersionsENISA

hMailServer 6.3.4 <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 flaw is a classic CWE-407 inefficient-algorithmic-complexity defect in hMailServer's implementation of SPF macro expansion, the mechanism defined in RFC 7208 that lets a sender's published SPF record reference macros (such as %{d}, %{s}, %{l}) which are substituted into a domain-spec at evaluation time. RFC 7208 section 7.1 requires that when a name produced by macro expansion is too long to be looked up, whole labels must be dropped from the left until the name is resolvable. hMailServer instead removed a single label per iteration and re-copied the remainder of the string on each pass, so the total work scaled with the square of the expansion length. Because SPF expansion is driven entirely by attacker-published DNS TXT data, the CPU and worker-thread cost is attacker-controlled; the affected code path is version-specific, and the CPE (cpe:2.3:a:progressive_robot_ltd:hmailserver) is version-wildcarded so the precise vulnerable set is best taken from the EUVD data (6.3.4 up to but excluding 6.3.6). Note that the supplied tag 'Information Disclosure' does not match the assessed impact: the CVSS vector carries C:N/I:N, so this is purely an availability (denial-of-service) issue, not a confidentiality one.

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 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Remotely triggered by sending mail with no auth or interaction (AV:N/AC:L/PR:N/UI:N); only partial, bounded worker-thread consumption and no data impact (A:L, C:N/I:N).

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

Lifecycle Timeline

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

DescriptionCVE.org

Inefficient algorithmic complexity in the SPF macro expansion of Progressive Robot hMailServer 6.3.4 and 6.3.5 allows a remote unauthenticated attacker to consume worker-thread time by publishing a crafted SPF record. RFC 7208 section 7.1 requires a name too long to look up to lose whole labels from the left; the server did this by removing one label at a time and copying the rest of the name each time, so the work grew with the square of the expansion. An attacker who publishes an SPF record for a domain they control, with a mechanism whose domain-spec expands through macros to a name far longer than 253 characters, makes the SPF check of a message from that domain take several seconds. The expansion is bounded by SPF's own per-term and per-macro limits, so the loss of availability is partial.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
free open-source Windows mail server, niche small-business/hobbyist 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.4%
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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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