Vulnerability · Published Oct 9, 2026 · Assigned by GitHub_M
CVE-2026-107819MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure
Medium 5.9
In plain English
A medium-severity security flaw in server from MariaDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:24.04:LTS | mariadb | no fix listed | UBUNTU-CVE-2026-107819 |
| Ubuntu:26.04:LTS | mariadb | no fix listed | UBUNTU-CVE-2026-107819 |
| Ubuntu:26.10 | mariadb | no fix listed | UBUNTU-CVE-2026-107819 |
Affected products (as reported)
Weakness: CWE-297 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/MariaDB/server/security/advisories/GHSA-fmq9-qjxj-qpf7 x_refsource_CONFIRM
- 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 x_refsource_MISC