Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local user access on Windows host
-
DeliveryPlant cert file at UTF-8-collision path
-
ExploithMailServer validates DB cert against attacker file
-
ExecutionIntercept or impersonate database connection
-
ImpactRead and modify DB traffic including password
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Windows builds only (Linux builds unaffected), running hMailServer 6.2.25-6.3.7 in a non-default configuration where a root certificate file is named - by default none is named. Triggering configs: PostgreSQL backend with sslmode=require, verify-ca or verify-full and PostgreSQLSslRootCert set (from 6.2.25); or TlsMode=verify-full with neither PostgreSQL key set, using TlsCaFile (from 6.3.4); or a MySQL backend where the bundled MariaDB Connector/C has been replaced by an Oracle MySQL client library, using TlsCaFile (6.3.4-6.3.7). The configured filename must contain non-ASCII bytes that are also valid UTF-8 (e.g. U+00C3 U+00A9 → bytes C3 A9, which OpenSSL reads as U+00E9); up to 6.3.5 names are handed to libpq as Latin-1 bytes. Limiting factors: a local user must be able to create a file at the UTF-8-interpreted path (e.g. any user beside an administrator's ProgramData file, or beside a permission-restricted folder at the system drive root) while being unable to alter the configured file, AND must be able to intercept or impersonate the hMailServer-to-database connection. The bundled MariaDB Connector/C opens the file in the ANSI code page and is NOT affected. A planted file lacking the real issuing CA simply blocks hMailServer from connecting. The vendor's complete fix is upgrading to v6.3.8. |
| Impact | Signals point to a real but narrow, lower-tier priority rather than a drop-everything emergency. The input CVSS is 7.5 (High) but is heavily gated by AC:H and PR:L, and the vuln.today Decision label is this_week, not act_now or emergency. No EPSS score, no CISA KEV listing, and no proof-of-concept are present in the supplied data, so this is 'no public exploit identified at time of analysis' and there is no evidence of active exploitation. The practical risk is bounded by stacked preconditions: a non-default PostgreSQL/MySQL TLS configuration, a root-certificate filename whose non-ASCII bytes happen to also be valid UTF-8, a local user able to create the collision-named file, and an attacker already positioned to intercept or impersonate the database connection. A notable conflict exists between the input CVSS vector (AV:N) and the description, which explicitly frames this as 'a local attacker who can create that file' combined with database-connection interception - the described mechanism is local file placement plus MITM, not a purely remote network attack; verify the access model with the vendor. Where the preconditions are met the impact is serious (full read/modify of hMailServer-to-database traffic, including the database password, hence C:H/I:H/A:H), but the combination of non-default config, Windows-only scope, specific-encoding requirement, local file creation, and MITM positioning makes widespread opportunistic exploitation unlikely; this favors targeted scenarios over mass exploitation. |
| Exploit ScenarioDerived | On a Windows hMailServer host configured (non-default) to verify the PostgreSQL or Oracle-MySQL database certificate against a root-cert file whose name contains non-ASCII bytes that are also valid UTF-8, a low-privileged local user drops a file at the UTF-8-interpreted path (for example beside the administrator's file under ProgramData); OpenSSL opens that attacker file instead of the configured one. The attacker, also able to intercept or impersonate the database connection, presents a certificate from their own CA so hMailServer trusts the MITM channel and then reads and alters all database traffic, including the database password. No public exploit code is identified in the provided data; the high attack complexity reflects the required filename-encoding collision, file-placement access, and interception position. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
hMailServer 6.2.25 through 6.3.7 on Windows can be made to trust an attacker-supplied certificate authority because a non-ASCII root certificate filename is passed to libpq in the system ANSI code page while OpenSSL re-reads those same bytes as UTF-8, opening a different file. The flaw only applies to non-default deployments where a root certificate file is actually named - PostgreSQL with sslmode require/verify-ca/verify-full plus PostgreSQLSslRootCert, or TlsMode=verify-full using TlsCaFile (and, in 6.3.4-6.3.7, a MySQL backend where the bundled MariaDB Connector/C has been replaced by an Oracle MySQL client library). Exploitation requires local low-privileged file creation at the UTF-8-interpreted path plus the ability to intercept or impersonate the hMailServer-to-database connection, after which the attacker can read and modify database traffic including the database password; a planted file without the real issuing CA merely breaks connectivity. No public exploit has been identified at time of analysis, and the vendor's complete fix is upgrading to v6.3.8.
RemediationAI
The vendor's complete fix is upgrading hMailServer to v6.3.8 (https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.8), which removes the filename-encoding mismatch; no backport or configuration-only fix is documented in the available sources. Deployments that never name a root certificate file (the default) are outside the affected configuration, and Linux builds and installations still using the bundled MariaDB Connector/C are not affected, so confirming which of those configurations is in use is the first triage step. Where upgrading is not immediately possible, the exposure depends on the two preconditions stated in the advisory: a local user able to create the file that the UTF-8 interpretation of the configured path resolves to, and the ability to intercept or impersonate the database connection. Auditing named root certificate paths for non-ASCII characters and the surrounding directory permissions (for example ProgramData alongside administrator-managed files, or folders directly under the system drive root with restricted ACLs) addresses the file-planting half of the requirement; noting that a planted file without the real issuing CA stops hMailServer from connecting to its database rather than granting access. Database traffic should be protected against interception independently, since that is the second, independent prerequisite for the trust bypass to yield credential or data disclosure.
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 affected component is hMailServer's database TLS trust configuration on Windows, which mixes two different filename encodings across a library boundary. hMailServer hands the configured root certificate path to PostgreSQL's libpq as bytes in the system ANSI code page (Latin-1 in builds up to 6.3.5, which on code page 1252 makes bytes C3 A9 perform double duty as U+00C3 U+00A9 and as UTF-8 U+00E9). libpq resolves the file by those bytes, then passes the same byte string to OpenSSL, whose Windows file-opening path first interprets the name as UTF-8 and, if a file exists at that interpretation, opens it. When every non-ASCII byte of the configured name also forms valid UTF-8, the certificate actually loaded comes from a different path than the administrator specified. This is CWE-295 (Improper Certificate Validation): the trust anchor in use is not the trust anchor that was configured, so the database server's certificate can be validated against an attacker-controlled CA. The CPE cpe:2.3:a:progressive_robot_ltd:hmailserver:*:*:*:*:*:*:*:* covers the affected product family. Scope limits matter: the encoding mismatch is specific to how libpq/OpenSSL are invoked on Windows, so Linux builds are unaffected; the bundled MariaDB Connector/C opens the file in the ANSI code page and is not affected, with the Oracle MySQL client library substitution being the only affected MySQL path. The trigger is not described in the available sources beyond the configuration and filename-encoding preconditions, and the default configuration names no root certificate file at all.
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:L/UI:N/S:U/C:H/I:H/A:H
Exploitation requires a local low-privileged user to plant a collision-named file (AV:L, PR:L) plus a rare filename-encoding match and MITM positioning (AC:H); full compromise of DB traffic gives C:H/I:H/A:H; the input used AV:N but the described trigger is local.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
DescriptionCVE.org
Progressive Robot hMailServer 6.2.25 through 6.3.7 on Windows, with a PostgreSQL database, the connection's sslmode require, verify-ca or verify-full, and a root certificate file named by PostgreSQLSslRootCert (from 6.2.25) or, with TlsMode=verify-full and neither PostgreSQL key set, by TlsCaFile (from 6.3.4), hands the file's name to libpq as bytes in the system's ANSI code page (up to 6.3.5 as Latin-1 bytes, which on code page 1252 are the code page's own for U+00A0 to U+00FF), and libpq looks for the file by those bytes and then hands the same bytes to OpenSSL, whose file opening on Windows reads a name as UTF-8 first and opens the file at that reading when one is there. When every byte of the name outside ASCII also reads as UTF-8 - for example U+00C3 U+00A9, the bytes C3 A9 on code page 1252, which are U+00E9 in UTF-8 - the database server's certificate was checked against the file at that other name whenever one was there, which allows a local attacker who can create that file but cannot change the configured one, as any user can by default beside a file an administrator keeps under ProgramData, or beside a folder directly under the system drive's root whose permissions the administrator restricted, and who can intercept the connection to the database server or stand in for it, to have hMailServer trust a certificate authority of the attacker's own and read and modify the traffic between hMailServer and its database, the database password included; the file alone, holding no authority that issued the database server's certificate, stops hMailServer from connecting to its database. The same applies in 6.3.4 through 6.3.7 to TlsCaFile when an Oracle MySQL client library has been put in place of the bundled MariaDB Connector/C, since that client opens the file through OpenSSL in the same way; the bundled MariaDB Connector/C opens the file in the code page and is not affected, and neither are the Linux builds. The configuration is not the default: by default no root certificate file is named.
Articles & Coverage 1
Executive ViewAI
hMailServer versions 6.2.25 through 6.3.7 on Windows may trust an attacker-supplied certificate authority in non-default PostgreSQL or MySQL TLS deployments, enabling interception of database traffic. This affects organizations using custom root certificate files, potentially exposing database credentials and data to local attackers who can create files and intercept connections.
No vendor-released patch identified at time of analysis. Interim mitigations include renaming root certificate files to ASCII-only names and updating configuration paths, restricting local file creation in certificate directories, and monitoring for anomalous database connection activity.
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-123321
GHSA-8g5c-c364-9965
NVD
CVE.org
EPSS
Exploit-DB