Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain MITM position on hMailServer-database link
-
DeliveryIntercept the TLS handshake to the database
-
ExploitPresent forged certificate accepted via the CA-file gap
-
ExecutionDecrypt and alter hMailServer-database traffic
-
ImpactHarvest database credentials and email data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Requires hMailServer 6.3.4 through 6.3.7 backed by a MySQL or MariaDB database (not the internal store) with TlsMode explicitly set to verify-full - this is NOT the default, which is TlsMode=prefer and checks no certificate - and a TlsCaFile whose filename contains a character outside ASCII on Linux or above U+00FF on Windows. Under those settings the server converts the filename in the C locale to an empty string and sets no CA file while verification stays enabled, so the database client trusts the system store (or, with MariaDB Connector/C 3.4.2-3.4.10 bundled on Windows in 6.3.4-6.3.6 or an unpatched distro client, accepts an unverified certificate). Exploitation additionally requires the attacker to be able to intercept/stand in for the database connection (network MITM, or local for 127.0.0.1/::1/Unix socket/named pipe/localhost cases). Limiting factors: the configuration is non-default, the exact filename condition must hold, and on Linux the flaw only manifests under glibc with a UTF-8 or legacy 8-bit locale - with no locale, LC_ALL=C, an unavailable locale, or on Alpine/musl the connection simply fails instead. |
| Impact | Signals point to a genuine but tightly constrained issue rather than a broad emergency. The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, 7.4 High) already encodes the main limiters: High attack complexity reflects that the attacker must hold a man-in-the-middle position on the hMailServer-to-database network path, and the flaw only exists in a non-default configuration (MySQL/MariaDB backend with TlsMode=verify-full and a TlsCaFile whose filename contains a non-ASCII character). PR:N is accurate in that the attacker needs no account on hMailServer, but exploitation depends on an operator having chosen an unusual, specific configuration. No EPSS score was provided, the CVE is not on CISA KEV, and no proof-of-concept or exploit reference appears in the input, so exploitation status is: no public exploit identified at time of analysis. The vuln.today decision label is 'this_week', consistent with a serious-but-not-emergency triage rather than act_now/emergency. Net assessment: real, worth patching to 6.3.8 on affected deployments, but the compound preconditions (MITM access, non-default verify-full mode, a non-ASCII CA filename, and on Linux a glibc UTF-8/8-bit locale) make widespread opportunistic exploitation unlikely; this favors targeted scenarios. Missing data to note explicitly: no EPSS and no independent exploitation telemetry are present, so probability of exploitation cannot be quantified from the input. |
| Exploit ScenarioDerived | An attacker able to intercept the network link between hMailServer and its MySQL/MariaDB server (for example on a shared LAN or compromised network segment) presents a certificate the configured CA would not have signed; because hMailServer silently passed no CA file to MariaDB Connector/C while verification remained nominally on, the client trusts the system store or, in vulnerable Connector/C builds, accepts an unverified certificate outright. The attacker then reads and modifies hMailServer-to-database traffic, including the database credentials and mail data. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
hMailServer 6.3.4 through 6.3.7, when running against a MySQL or MariaDB database with TlsMode explicitly set to verify-full and a TlsCaFile whose filename contains a non-ASCII character on Linux or a character above U+00FF on Windows, silently drops the configured CA file while leaving certificate verification enabled, so an attacker able to intercept or stand in for the database connection can read and modify the traffic between the mail server and its database. The impact is amplified by flaws in the bundled or distribution-supplied MariaDB Connector/C clients, which in versions 3.4.2 to 3.4.10 accept an unverified certificate for any name under the server's chosen sign-in method (MariaDB CONC-853), and in 3.4.1 and later skip issuer and name checks entirely on connections treated as local. The configuration is non-default (TlsMode defaults to prefer, which checks no certificate) and the trigger depends on locale and platform, so exposure is limited to specific deployments; no public exploit identified at time of analysis and no CISA KEV listing is associated with this CVE.
RemediationAI
Upgrade hMailServer to the fix release v6.3.8 (https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.8, tracked in https://gitlab.com/hmailserver/hmailserver/-/work_items/112), which addresses the server-side filename conversion that clears the CA file; on Windows this also moves deployments off the affected bundled Connector/C versions. Independently, ensure the database client is MariaDB Connector/C 3.4.11 or later to pick up the CONC-853 fix, since hMailServer 6.3.4 to 6.3.6 on Windows bundle 3.4.2 to 3.4.10 and Linux distributions may ship unpatched 3.4.1 to 3.4.9 - Connector/C 3.4.11 is the version the advisory names as fixing CONC-853. As a compensating control on versions that cannot be upgraded, keep the TlsCaFile filename strictly ASCII on Linux and at or below U+00FF on Windows so the conversion does not collapse to an empty string; this depends on the exact filename, so it must be verified per host, and on glibc the CA file is only found under a UTF-8 or matching legacy 8-bit locale - running with LC_ALL=C, no locale, an unavailable locale, or on musl/Alpine causes the database connection to fail rather than to connect insecurely. Do not treat the hmailserver --check-database settings line or the application log as proof that the CA file was used, because both report the configured filename and a successful certificate check even when no CA file was set. Also do not 'mitigate' by relying on the default TlsMode of prefer, which performs no certificate validation at all. Where the database is reachable only over loopback, Unix socket or named pipe, restricting who can bind or impersonate the database endpoint reduces the local-attacker path that Connector/C 3.4.1 and later leave unchecked for issuer and name.
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 root cause is CWE-295, improper certificate validation, arising in hMailServer's handling of the TlsCaFile setting for its external MySQL/MariaDB backend. Rather than failing closed, the server converted the configured filename using the C runtime's conversion in the C locale; for a name containing a character outside ASCII on Linux (or above U+00FF on Windows) that conversion yields an empty string, and the code then set no CA file at all, without raising an error, while certificate verification remained on. The database client therefore validated the server certificate against the operating system trust store instead of the configured CA. The client itself matters: MariaDB Connector/C 3.4.2 through 3.4.10 (bundled on Windows in hMailServer 6.3.4 to 6.3.6) went further and, with no CA file, accepted any in-date certificate whose issuer it could not resolve, with neither chain nor name checked and no password proof, when the server offered first a password-hashing sign-in method chosen by the man-in-the-middle attacker (tracked as MariaDB CONC-853 and fixed in Connector/C 3.4.11); Connector/C 3.4 also accepted from a MariaDB 11.4 or later server a certificate the trust store did not vouch for when that server proved possession of the account password; and Connector/C 3.4.1 and later checked neither issuer nor name on connections it treats as local (127.0.0.1, ::1, a Unix socket, a named pipe, and localhost on Windows), allowing a local attacker posing as the database server to present a self-made certificate. With Connector/C 3.4.1 to 3.4.9 as the client, the missing CA file also satisfies the precondition of CVE-2026-107819, so a certificate issued for any other name by a trusted authority suffices to obtain the database password. On Linux the CA file is only located when the server runs on glibc under a locale whose character set contains the name's characters (a UTF-8 locale, or a legacy 8-bit locale in whose bytes the file is named); with no locale, LC_ALL=C, an unavailable locale, or on Alpine with musl, the connection simply fails. The diagnostic surfaces are misleading: the settings line from hmailserver --check-database still names the configured file and the application log reports that the certificate was checked.
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:H/PR:N/UI:N/S:U/C:H/I:H/A:N
MITM positioning on the database link plus the non-default verify-full/non-ASCII-filename condition give AC:H; the attacker needs no account on the target so PR:N; traffic is read and modified so C:H/I:H with no availability impact.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
DescriptionCVE.org
Progressive Robot hMailServer 6.3.4 through 6.3.7, with a MySQL or MariaDB database and TlsMode=verify-full, does not hand the database client the CA file that TlsCaFile names when the file's name contains a character outside ASCII on Linux, or above U+00FF on Windows, which allows an attacker who can intercept the connection to the database server to read and modify the traffic between hMailServer and its database, by presenting, with MariaDB Connector/C 3.4.2 to 3.4.10 as the client, a certificate from any authority, its own included, for any name, and otherwise a certificate for the database server's name issued by any certificate authority in the system's trust store. The server converted the name for the client with the C runtime's conversion in the C locale, which gives an empty string for such a name, and then set no CA file at all, without an error, while certificate verification stayed on, so the client - MariaDB Connector/C, bundled on Windows and the distribution's on Linux - verified the certificate of a database server over the network against the system's trust store instead of the configured CA; Connector/C 3.4.2 to 3.4.10 (bundled on Windows in 6.3.4 to 6.3.6) went further and, with no CA file, took a certificate within its dates whose issuer it could not find, for any name, with neither its chain nor its name checked and no password proof, when the server offered first a sign-in method that hashes the password, which an attacker in the middle chooses (MariaDB's CONC-853, fixed in Connector/C 3.4.11), and Connector/C 3.4 accepted from a MariaDB 11.4 or later server a certificate the store did not vouch for when that server proved it held the account's password; on a connection it treats as local (127.0.0.1, ::1, a Unix socket, a named pipe, and localhost on Windows), Connector/C 3.4.1 and later checked neither the certificate's issuer nor its name, so that a local attacker able to stand in for the database server could present any certificate within its dates of its own making. The settings line of hmailserver --check-database still named the configured file, and the application log said the certificate had been checked. With MariaDB Connector/C 3.4.1 to 3.4.9 as the client - bundled on Windows in 6.3.4 to 6.3.6, and the client of Linux distributions that have not patched it - the missing CA file also met the precondition of CVE-2026-107819, so that a certificate issued for any other name by a trusted authority was enough to obtain the database password. On Linux the file was found only when the server ran on glibc under a locale whose character set holds the name's characters (a UTF-8 locale, or a legacy 8-bit one the system has, in whose bytes the file is then named); with no locale, LC_ALL=C or a locale the system lacks, and on Alpine (musl), the connection failed instead. The configuration is not the default: TlsMode defaults to prefer, which checks no certificate.
Executive ViewAI
CVE-2026-126610 in hMailServer (versions 6.3.4-6.3.7) can silently disable CA certificate verification for database connections under specific, non-default configurations, enabling an attacker with network positioning to intercept and alter mail server-database traffic. Only deployments using MySQL/MariaDB with explicit verify-full TLS mode and a CA file path containing non-ASCII characters are affected, but those that are face potential data breach and integrity risks. Leadership should prioritize identifying and remediating any such configurations.
No vendor-released patch identified at time of analysis. Interim mitigations: avoid non-ASCII characters in TlsCaFile paths, use default TlsMode (prefer) where feasible, enforce strict network segmentation and monitoring between hMailServer and database, and replace affected MariaDB Connector/C versions with a fixed release if available.
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
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-123324
GHSA-7748-8wp3-j5hq
NVD
CVE.org
EPSS
Exploit-DB