CVEfocus › CVE database › CVE-2026-119278

CVE-2026-119278MariaDB Connector/J: Rogue server can crash the client during caching_sha2_password…

CVSS 5.9 MediumEPSS 0.6% (higher than 43% of CVEs)Published 2026-10-29Updated 2026-10-30Assigner: GitHub_M

MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7 and 3.4.5, during caching_sha2_password authentication, the authentication-more-data response was treated as a length-encoded byte array, memory was allocated from the server-declared length, and authResult[0] was accessed without ensuring a byte existed. A malicious or compromised server, or a machine-in-the-middle attacker, could declare a very large length or send an empty response before any password was transmitted. The malformed packet could cause excessive allocation or an unchecked ArrayIndexOutOfBoundsException escaping from DriverManager.getConnection(). This issue is fixed in versions 3.3.7 and 3.4.5.

CWE-129CWE-789

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, 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

1Fixed
23Fix pending
3Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mariadb-connector-javaFix pendingUBUNTU-CVE-2026-119278
Ubuntu 26.04mariadb-connector-javaUnder investigationUBUNTU-CVE-2026-119278
Ubuntu 24.04mariadb-connector-javaUnder investigationUBUNTU-CVE-2026-119278
Ubuntu 22.04mariadb-connector-javaUnder investigationUBUNTU-CVE-2026-119278
Ubuntu 20.04mariadb-connector-javaFix pendingUBUNTU-CVE-2026-119278
Ubuntu 18.04mariadb-connector-javaFix pendingUBUNTU-CVE-2026-119278
Debian 14mariadb-connector-javaFixed3.5.10-1DEBIAN-CVE-2026-119278
Debian 13mariadb-connector-javaFix pendingDEBIAN-CVE-2026-119278
Debian 12mariadb-connector-javaFix pendingDEBIAN-CVE-2026-119278
Red Hat Enterprise Linux 10mariadb-java-clientFix pending
Fix deferred
Red Hat Enterprise Linux 9mariadb-java-clientFix pending
Fix deferred
Red Hat Enterprise Linux 8JudyFix pending
Fix deferred
Red Hat Enterprise Linux 8galeraFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadbFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-backupFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-commonFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-develFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-embeddedFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-embedded-develFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-errmsgFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-gssapi-serverFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-oqgraph-engineFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-pamFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-serverFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-server-galeraFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-server-utilsFix pending
Fix deferred
Red Hat Enterprise Linux 8mariadb-testFix pending
Fix deferred

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.

References

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.