Skip to main content

hMailServer EUVDEUVD-2026-123336

| CVE-2026-126619 MEDIUM
Misinterpretation of Input (CWE-115)
2026-11-11 GitLab GHSA-5xgg-6cxw-qr32
4.8
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Send mail with SMTPUTF8 envelope value containing backslash
  2. Delivery
    Induce DB write to fail outside transaction
  3. Exploit
    Layer misreads literal, finds [IGNORE-ERRORS] marker
  4. Execution
    Failed write reported as success
  5. Impact
    Message silently lost or misdelivered

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output interpretation safety
Exploitation Conditions

Exploitation depends on the database backend and version, not on default behaviour alone. On PostgreSQL (with standard_conforming_strings on, its default) from 6.3.3, any statement carrying an outside value that contains a backslash can trigger it with no setting changed - e.g. a message delivered to a local mailbox via an internationalised (SMTPUTF8) envelope sender, or the IP range an auto-ban writes named after a failed-logon user name. On SQL Server and SQL Server Compact it applies only to the database log, and only when the server is configured to log to the database (logging is off and the log device is files by default). Up to 6.2.18 the marker was honoured anywhere in a statement on MySQL/MariaDB and PostgreSQL, widening the trigger. In every case the affected statement must run outside a transaction and then actually fail (a constraint, deadlock, lock or statement timeout, a full disk, or up to 6.2.18 a lost connection); if the write succeeds, nothing is misreported. Limiting factors: non-default database engine/logging configuration, the requirement that a write genuinely fail, the presence of a backslash or the marker in attacker-supplied text, and the specific version ranges - all reflected in the AC:H rating.

Impact

This is a genuine-but-modest-priority defect, not a drop-everything emergency, and the signals are internally consistent. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N, base 4.8 Medium) describes a network-reachable, unauthenticated flaw with high attack complexity and only Low confidentiality and Low integrity impact - matching the description, which states explicitly that an attacker gains no way to change what a statement does and gains no privilege. The vuln.today Decision label is 'this_month' (not act_now/emergency), aligning with the Medium severity. No EPSS score, no CISA KEV listing, and no PoC/exploit reference are present in the input: the only two references are the vendor's own GitLab work item and the v6.3.8 release page, so exploitation status is 'no public exploit identified at time of analysis.' The AC:H rating is well-grounded in the description's many preconditions (specific database engine and version, a value containing a backslash or the marker, standard_conforming_strings behaviour, and an in-flight statement that actually fails outside a transaction) rather than being an unexplained severity knob. The practical impact is data-integrity drift - lost messages with no failure notice, auto-bans recorded but not applied, and (on MySQL/MariaDB up to 6.2.18) a queued message's recipients being written under the wrong connection id so another message can be delivered to them, the one scenario with a confidentiality/information-disclosure edge. No conflicting signals were found; the chief missing data are EPSS and any independent confirmation of in-the-wild use (there is none claimed).

Exploit ScenarioDerived

A remote unauthenticated attacker sends mail through an affected hMailServer whose database backend is PostgreSQL (6.3.3+, default standard_conforming_strings) using an internationalised (SMTPUTF8) envelope sender containing a backslash destined for a local mailbox, timing it so the resulting database write fails (e.g. a constraint, deadlock, lock/statement timeout, or full disk). The layer misreads part of the string literal as statement text, finds the [IGNORE-ERRORS] marker, and reports the failed write as a success, so the message is counted delivered with no stored row and no bounce to the sender - or, on MySQL/MariaDB up to 6.2.18, is delivered to another queued message's recipients. No public exploit code is identified; the high attack complexity means exploitation is opportunistic and condition-dependent rather than reliable.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 11, 2026

hMailServer 6.0.0-B1 through 6.3.7 can report a failed database write back to its caller as successful, because its database layer honours an internal [IGNORE-ERRORS] marker when it appears in statement text and, on several engines, mis-parses backslashes inside string literals so that attacker-supplied values are read as statement text. Remote unauthenticated attackers reach this through ordinary mail traffic - an internationalised (SMTPUTF8) envelope sender on PostgreSQL 6.3.3 and later, a failed-logon user name written into an auto-ban range, or message headers - and the practical effect is silent loss of data: a message accepted with 250 that has no queue row, a local delivery counted as delivered with no row and no bounce, or an auto-ban logged as applied while the address remains unbanned. The defect gives a value no way to change what a statement does and grants no privilege, exploitation is rated high complexity (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N), depends on database backend, version and logging configuration, and requires the write to genuinely fail; no public exploit has been identified at time of analysis and there is no KEV or EPSS signal in the supplied data.

RemediationAI

Vendor-released patch: upgrade to hMailServer 6.3.8 (https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.8), which is the release referenced alongside the tracking item https://gitlab.com/hmailserver/hmailserver/-/work_items/100; that is the only complete fix described in the available sources. Where upgrading is not immediately possible, the exposed paths can be narrowed to match the assessed exploitation conditions: on SQL Server and SQL Server Compact the flaw surfaces only through the database log, so keeping database logging disabled and leaving the log device on files (the default) removes that vector, at the cost of losing database-backed log retention and centralised log querying; on PostgreSQL from 6.3.3 the trigger needs a backslash in an outside value and no configuration-level workaround is described in the supplied sources, so the release is the practical remedy there. Note that the failure also has to occur - a genuinely failing write outside a transaction - so eliminating single points of write failure (disk exhaustion, deadlocks, statement timeouts) reduces the chance of silent loss but does not fix the misreporting itself. Pending the upgrade, monitor for delivery anomalies - messages accepted with 250 that never queue, local deliveries counted without a stored row, and auto-bans logged as applied while the source address still connects - since the defect produces no error to alert on.

Affected VersionsENISA

hMailServer 6.0.0-B1 ≤6.3.7

Affected Packages

euvd hmailserver no fix

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-115 (Misinterpretation of Input): the database abstraction layer does not treat the SQL text it sends and the values it interpolates as distinct, so a value can be mistaken for a control directive. The layer suppresses errors for the server's own schema statements - upgrade scripts and the database log's tables - by looking for an [IGNORE-ERRORS] marker in the statement. Up to 6.2.18 that marker was honoured anywhere in the statement, including inside interpolated values, on MySQL/MariaDB and PostgreSQL. From 6.2.19 it was only honoured inside a comment, but the layer's comment/literal scanner treated a backslash inside a string literal as an escape character - behaviour SQL Server, SQL Server Compact and PostgreSQL with standard_conforming_strings on (the PostgreSQL default) do not have - so on those engines a value containing a backslash could shift the layer's idea of where literals end and let part of the statement's own literals be scanned as statement text, exposing the marker. PostgreSQL 6.3.3 and later is affected for every statement carrying an outside value with a backslash (local mailbox delivery via an SMTPUTF8 envelope sender, and the IP range of an auto-ban named after a failed-logon user name); SQL Server and SQL Server Compact are affected only for the database log, and only when the server logs to the database, which is off by default (default log device is files). The misreport only matters when the affected statement runs outside a transaction and then actually fails - a constraint, deadlock, lock or statement timeout, a full disk, or a lost connection up to 6.2.18. On MySQL/MariaDB up to 6.2.18 the caller additionally received whatever insert identifier the client library still held for the connection (0, or the id of its last successful insert in any table), which was then used to write recipients of a queued message, so another queued message could be delivered to those recipients.

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

Remote unauthenticated via envelope/logon input (AV:N/PR:N/UI:N); many engine, config, backslash and failure preconditions give AC:H; cross-message delivery yields C:L and silent data loss I:L.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitLab).

CVSS VectorVendor: GitLab

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Misinterpretation of SQL statement text in the database layer of Progressive Robot hMailServer 6.0.0-B1 through 6.3.7 allows a remote unauthenticated attacker to have a failed database write reported to the server as successful. The layer answers a failed statement as a success when it finds the marker [IGNORE-ERRORS], which is meant only for the server's own schema statements (its upgrade scripts and the database log's tables), and statements carry values from outside - an envelope address, the user name of a failed logon, a message's headers - in their text on MySQL/MariaDB and PostgreSQL, and in the batches of the database log on every engine. Up to 6.2.18 the marker was honoured anywhere in a statement, a value included, on MySQL/MariaDB and PostgreSQL. From 6.2.19 it was honoured only inside a comment, but the layer read a backslash inside a string literal as an escape, which SQL Server, SQL Server Compact and PostgreSQL with standard_conforming_strings on (its default) do not, so that on those engines a value holding a backslash could make the layer take part of the statement's literals for statement text and find the marker there: on PostgreSQL from 6.3.3 for every statement carrying an outside value that holds a backslash, with no setting changed for a message delivered into a local mailbox (through an internationalised (SMTPUTF8) envelope sender) and for the IP range an auto-ban writes (named after the user name of the failed logon), and on SQL Server and SQL Server Compact for the database log, when the server logs to the database (logging is off, and the log device is files, by default). A statement run outside a transaction that then failed - a constraint, a deadlock, a lock or statement timeout, a full disk, and up to 6.2.18 a lost connection - was answered as a success, and its caller went on as if the row had been written: a message delivered into a local mailbox could be counted as delivered with no row to show it and no failure notice to its sender, and a message accepted with 250 could be left with no queue row and never delivered (up to 6.2.18, and on PostgreSQL from 6.3.3 when every recipient's address carries the marker too, which needs an address that takes any local part); an auto-ban whose IP range was not written could be logged and counted as applied, with no error reported, while the address stayed unbanned; and message metadata (written only when message indexing is on), entries of the database log and rows of features an administrator turns on could be lost without an error. On MySQL/MariaDB up to 6.2.18 the caller was handed whatever identifier the client library still held for the connection - 0, or that of an insert its last successful statement made, in whatever table - under which a queued message's recipients were then written, so that another message still in the queue could be delivered to them as well. This flaw gives a value no way to change what a statement does, and no privilege is gained.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche open-source Windows-only mail server, limited enterprise footprint
Data Quality
5 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 No
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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