All vulnerabilities

Servers and applications

CVE-2026-107819

libmariadb allowed cleartext password leakage on TLS hostname verification failure

Severity
Medium 5.9
Published
7 Sept 2026
Last changed
9 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.4.10
Exploit chance
0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-297
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Also known as
GHSA-fmq9-qjxj-qpf7
Sources
CVE Program, Project advisories (GitHub)

Description

In the Zero-Configuration SSL protocol, the MariaDB client must refuse sending clear-text password over unverified TLS connection. Because of a programming mistake, MariaDB Connector/C (libmariadb) could have switched to a clear-text password plugin if the TLS certificate was valid, but did not belong to the connecting host. This allowed an active man-in-the-middle attacker to replace the certificate to another valid certificate and request the client to switch to the clear-text password plugin. Only MariaDB Connector/C is affected, other MariaDB connectors are safe.

From MariaDB/server's security advisory.

Workarounds

Any of the below can be used as mitigation

  • install properly signed certificates on the server
  • configure the client to accept only specific certificate fingerprints
  • delete mysql_clear_password.so and dialog.so files
  • use restricted-auth option to restrict authentication to safe subset of plugins
Workarounds as given by MariaDB/server's security advisory.

Affected software

SoftwareAffected versions
MariaDBServers and applications · cna:mariadb|server
  • From 3.4.1 before 3.4.10
MariaDBServers and applications · github:mariadb/server
  • Version 3.4.1–3.4.9

About MariaDB

database management system, relational, open source, community developed fork of MySQL

From Wikidata, CC0 1.0.
Developers who used it in the past year
22.5%Stack Overflow Developer Survey 2025, 2025
Docker Hub pulls
3,260,061,403Docker Hub, 15 Nov 2026
GitHub stars
8,588GitHub, 15 Nov 2026
Forks
2,280GitHub, 15 Nov 2026
Latest release
mariadb-13.0.2GitHub, 15 Nov 2026
Released
15 Sept 2026GitHub
Developer
MariaDB Corporation AbWikidata
License
GNU General Public License, GNU Lesser General Public LicenseWikidata
Written in
C, C++, PerlWikidata
First released
29 Oct 2009Wikidata
First published on GitHub
15 May 2014GitHub

Release lines

ReleaseLatestSecurity fixes
13.013.0.2Until 31 Dec 2026
12.3 (LTS)LTS12.3.4Until 12 Jun 2029
12.212.2.2Ended 28 May 2026
12.112.1.2Ended 13 Feb 2026
12.012.0.2Ended 18 Nov 2025
11.8 (LTS)LTS11.8.10Until 4 Jun 2028

From endoflife.date.

References