Skip to main content

hMailServer EUVDEUVD-2026-94856

| CVE-2026-107572 MEDIUM
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-10-08 GitLab GHSA-cqgg-3g6j-wqjp
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 with valid mail account
  2. Delivery
    Install malicious Sieve filter script
  3. Exploit
    Send crafted messages to own mailbox
  4. Execution
    Trigger backtracking ':matches' or O(N²) deleteheader evaluation
  5. Persist
    Exhaust shared delivery thread pool
  6. Impact
    Halt mail delivery server-wide

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid, authenticated hMailServer account (PR:L) on a server where user-defined Sieve filtering is enabled and active for that account. The attacker must be able to install their own active Sieve script containing either a ':matches' pattern with multiple wildcards over a long matched value or a 'deleteheader' rule, and must be able to deliver a few messages to themselves to trigger evaluation. Limiting factors: exploitation needs authentication (no anonymous attack), the malicious script affects only the attacker's own account and cannot be set for other users, Sieve filtering must be available, and the server must run the small shared delivery thread pool described - impact is availability only, with no confidentiality or integrity consequence.

Impact

This is a genuine but moderate-priority denial-of-service issue, not a high-impact remote code execution risk. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 6.5) is internally consistent with the description: network-reachable, low attack complexity, requires low privileges (a valid mail account), no user interaction, and availability-only impact with no confidentiality or integrity loss. CWE-1333 (inefficient complexity / ReDoS-style resource consumption) matches the two described algorithmic defects: exponential backtracking in ':matches' wildcard evaluation and O(N^2) 'deleteheader' processing. No EPSS score, KEV listing, POC, or SSVC decision data was provided, so exploitation-probability signals are absent rather than conflicting; the vendor patch (6.3.6) is confirmed available. The practical severity is amplified beyond a typical self-inflicted resource bug because Sieve runs on a small, shared delivery thread pool - one authenticated user's own script can starve delivery for the entire server. It is mitigated by the requirement for valid credentials and by the fact that a user cannot install the malicious script on another account, limiting it to insider/compromised-account abuse rather than anonymous internet-wide attack. Treat as a priority for multi-tenant hMailServer deployments that allow user-defined Sieve filters; low priority where accounts are trusted or Sieve is disabled.

Exploit ScenarioDerived

An attacker who controls any mail account on an affected hMailServer (6.2.24-6.3.5) installs their own Sieve filter containing a pathological ':matches' wildcard pattern (e.g. '*a*a*a*b' over 800 characters, ~44s per message) or a 'deleteheader' rule against messages with tens of thousands of same-named headers (O(N^2), ~18.8s for 80,000 fields). They then send themselves a few crafted messages, each of which ties up a delivery thread for many seconds. Because Sieve executes on a small shared delivery thread pool, the pool is quickly exhausted and mail delivery halts for all users on the server. No public exploit was identified at time of analysis, but the technique is fully described in the vendor work item and is trivially reproducible.

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

Authenticated denial of service in Progressive Robot hMailServer 6.2.24 through 6.3.5 lets any account holder who can publish an active Sieve script exhaust the server's shared delivery thread pool using their own filters. A ':matches' pattern with several wildcards evaluated against a long string, or a 'deleteheader' rule that strips many same-named fields, consumes seconds of CPU per message (44 seconds for an '*a*a*a*b' pattern over 800 characters; 18.8 seconds to remove 80,000 header fields), and a handful of self-delivered messages is enough to stall mail delivery for every user on the instance. The vector is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (6.5) and the impact is availability only; the vendor has released 6.3.6 with fixes, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade hMailServer to 6.3.6 or later, which addresses both the wildcard backtracking cost in ':matches' evaluation and the quadratic 'deleteheader' removal path; the fix is published at https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6 and described in the upstream work item https://gitlab.com/hmailserver/hmailserver/-/work_items/75. If immediate upgrade is not possible, the most effective compensating control is to disable user-configurable Sieve filtering (or restrict it to administrator-curated scripts) for accounts that do not require it, accepting the loss of per-user mail filtering as the trade-off. Where Sieve must remain enabled, constrain the blast radius by enforcing per-account delivery thread quotas or rate limits on message submission so that a single mailbox cannot saturate the shared delivery pool, and monitor for accounts whose messages show abnormally long filter evaluation times; these are mitigations only and do not remove the underlying complexity defect. Note that because evaluation runs on the shared delivery pool, isolating the offending account is reactive rather than preventive - the account's script must be deactivated to restore service.

Affected VersionsENISA

hMailServer 6.2.24 <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 class is CWE-1333 (Inefficient Regular Expression Complexity), realized here in hMailServer's Sieve filter engine rather than in a web-facing regex. Sieve ':matches' wildcard patterns are translated into a backtracking match whose runtime grows with the length of the matched value raised to the power of the number of wildcards, so each additional '*' in an attacker-authored pattern multiplies the cost against a long header or body value. Independently, the 'deleteheader' action removes matching fields one at a time, making removal of N same-named fields over a single message quadratic, O(N^2) in header-field count. Because Sieve evaluation executes on the small, shared delivery worker pool rather than per-account threads, CPU burn in one mailbox's script is not contained to that mailbox. The affected component is the hMailServer mail service itself (CPE cpe:2.3:a:progressive_robot_ltd:hmailserver:*:*:*:*:*:*:*:*), with EUVD recording the vulnerable range as 6.2.24 up to but not including 6.3.6. No confidentiality or integrity impact stems from the flaw; the mechanism is pure resource exhaustion.

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 Sieve requires a valid account (PR:L) with no interaction and low complexity; impact is availability-only server-wide delivery halt (A:H, C:N/I:N), scope unchanged within the mail service.

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

Inefficient complexity in the Sieve filter evaluation of Progressive Robot hMailServer 6.2.24 through 6.3.5 allows an authenticated account holder to make the mail services unavailable with their own filter. A ':matches' pattern was matched by a backtracking descent whose time grew with the matched value's length raised to the number of wildcards, so a pattern such as '*a*a*a*b' over 800 characters took 44 seconds; and 'deleteheader' erased the fields it removed one at a time, so removing many fields of one name over a message's header cost O(N^2) (80,000 fields took 18.8 seconds). Sieve filters run on the small, shared delivery thread pool, so an account holder whose active script does this, fed a few messages they can send themselves, empties the pool and stops delivery for the whole server. The script is the account holder's own and cannot be set for another user.

Threat Intelligence Overview

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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