Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister attacker-controlled domain
-
DeliveryPublish crafted SPF record with long macro expansion
-
ExploitSend email from that domain to hMailServer
-
ExecutionServer runs quadratic SPF label-stripping
-
ImpactWorker-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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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).
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
1DescriptionCVE.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
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-94857
GHSA-qcpx-92mh-q44f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB