CVE-2026-107819 MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- MySQLMariaDBUbuntuRed Hat
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.
Upgrade path
6 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/mariadb-connector-c(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| ubuntu/mariadb(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mariadb(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/mariadb(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux mariadb-connector-c(Azure Linux 4.0) | < 0:3.4.11-1.azl4 | 0:3.4.11-1.azl4 | Fixed |
| MariaDB Server | = >= 3.4.1, < 3.4.10 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MariaDB Server | = >= 3.4.1, < 3.4.10 | No fix listed |
| redhat/mariadb-connector-c(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| ubuntu/mariadb(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mariadb(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mariadb(Ubuntu:26.10) | All versions | No fix listed |
| azure linux mariadb-connector-c(Azure Linux:4.0) | < 0:3.4.11-1.azl4 | 0:3.4.11-1.azl4 |
References
- https://github.com/MariaDB/server/security/advisories/GHSA-fmq9-qjxj-qpf7
- https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8c0a16d94ddf844668d684a7d42b37ac8e0fc02
- https://github.com/mariadb-corporation/mariadb-connector-c/releases/tag/v3.4.10
- https://jira.mariadb.org/browse/CONC-846
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2548735 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-95920 third-party-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory