CVEfocus › CVE database › CVE-2026-119276

CVE-2026-119276MariaDB Connector/J: Rogue server can drive large heap allocations from server-declared…

CVSS 5.9 MediumEPSS 0.6% (higher than 42% 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, 3.4.5, and 3.5.11, when CLIENT_SESSION_TRACK was negotiated, the OkPacket.parse() and OkPacket.parseWithInfo() paths allocated byte arrays using server-declared lengths for the OK packet info field and session-state variable names and values before confirming that the bytes remained in the packet. A malicious or compromised server, or a machine-in-the-middle attacker, could send a small OK packet declaring a much larger length and repeatedly force attacker-controlled heap allocations before the subsequent copy failed. This could create garbage-collection pressure or an OutOfMemoryError in the client application. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.

CWE-130CWE-789

What to do

Fixed builds are available from Maven: 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
24Fix 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-119276
Ubuntu 26.04mariadb-connector-javaUnder investigationUBUNTU-CVE-2026-119276
Ubuntu 24.04mariadb-connector-javaUnder investigationUBUNTU-CVE-2026-119276
Ubuntu 22.04mariadb-connector-javaUnder investigationUBUNTU-CVE-2026-119276
Ubuntu 20.04mariadb-connector-javaFix pendingUBUNTU-CVE-2026-119276
Ubuntu 18.04mariadb-connector-javaFix pendingUBUNTU-CVE-2026-119276
Debian 14mariadb-connector-javaFix pendingDEBIAN-CVE-2026-119276
Debian 13mariadb-connector-javaFix pendingDEBIAN-CVE-2026-119276
Debian 12mariadb-connector-javaFix pendingDEBIAN-CVE-2026-119276
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
Maven libraryorg.mariadb.jdbc:mariadb-java-clientFixed3.5.11GHSA-h599-m3w5-9m7x

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.