Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-107819 EUVD-2026-95920

MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure

Published Oct 9, 2026 · Updated Oct 9, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
MariaDB server >= 3.4.1, < 3.4.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 mariadb No fix yet —
Ubuntu 26.04 LTS mariadb No fix yet —
Ubuntu 24.04 LTS mariadb No fix yet —

Advisories 1

References