Medium severity · published Oct 9, 2026
CVE-2026-107819
MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure
5.9
CVSS
0.3%
EPSS
No
On KEV
Description
MariaDB Connector/C is a C and C++ client library for connecting applications to MariaDB and MySQL databases. From 3.4.1 until 3.4.10, the MariaDB Connector/C libmariadb Zero-Configuration SSL authentication-switch logic checked certificate trust failure but did not reject a TLS hostname verification mismatch before selecting a non-hashing authentication plugin. An active man-in-the-middle attacker with a valid certificate for another hostname could request mysql_clear_password and obtain the database password inside the attacker-controlled TLS connection. Other MariaDB connectors are not affected. This issue is fixed in version 3.4.10.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 28% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SE
server · MariaDB
>= 3.4.1, < 3.4.10 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107819
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107819
x_refsource_CONFIRM
https://github.com/MariaDB/server/security/advisories/GHSA-fmq9-qjxj-qpf7
x_refsource_MISC
https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02
x_refsource_MISC
https://github.com/mariadb-corporation/mariadb-connector-c/releases/tag/v3.4.10
x_refsource_MISC
https://jira.mariadb.org/browse/CONC-846
More from server
9.9
CVE-2026-85748
MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
9.9
CVE-2026-85746
MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
9.9
CVE-2026-92262
MariaDB: Numerous issues caused by historical #mysql50# tablename encoding bypass.
9.9
CVE-2026-32710
Heap-based Buffer Overflow in MariaDB
9.8
CVE-2026-44170
MariaDB: Argument injection in CONNECT REST Xcurl on Windows via unsanitized URL
