CVE-2026-107819MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname…
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.
What to do
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mariadb | Fix pending | UBUNTU-CVE-2026-107819 | |
| Ubuntu 26.04 | mariadb | Under investigation | UBUNTU-CVE-2026-107819 | |
| Ubuntu 24.04 | mariadb | Under investigation | UBUNTU-CVE-2026-107819 | |
| Red Hat Enterprise Linux 10 | mariadb-connector-c | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-connector-c-config | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-connector-c-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-connector-c-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mariadb-connector-c-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | mariadb-connector-c | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-connector-c-config | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-connector-c-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-connector-c-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-connector-c-test | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-connector-c | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-connector-c-config | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-connector-c-devel | Not affected |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- MariaDB server: affected: >= 3.4.1, < 3.4.10
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.