CVE-2026-107819 MariaDB Connector/C: libmariadb allowed cleartext password leakage on TLS hostname verification failure

Medium 5.9 Published Updated

An active man-in-the-middle attacker can bypass TLS hostname verification to capture cleartext database passwords during authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-107819?

CVE-2026-107819 is a medium-severity vulnerability in MariaDB server, published on 9 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-297

Which versions are affected by CVE-2026-107819?

How do I fix CVE-2026-107819?

No fix has been published for CVE-2026-107819 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-107819 being exploited?

There is no known exploitation of CVE-2026-107819 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-107819, GHSA-fmq9-qjxj-qpf7, UBUNTU-CVE-2026-107819.

Is CVE-2026-107819 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free