Vulnerability · Published Oct 29, 2026 · Assigned by GitHub_M

CVE-2026-119279MariaDB Connector/J: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths

Medium 5.9

In plain English

A medium-severity integer overflow in mariadb-connector-j from mariadb-corporation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.4%top 71.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.10, the ReadableByteBuf.readLength() and ReadableByteBuf.readIntLengthEncodedNotNull() methods narrowed the protocol's unsigned 8-byte length-encoded integer to a Java int without checking that the value fit a non-negative integer. Values above Integer.MAX_VALUE could wrap to a negative or unrelated length that downstream allocation and read paths used. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger NegativeArraySizeException, out-of-bounds failures, or oversized allocation behavior in client connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.10.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mariadb-connector-javano fix listedDEBIAN-CVE-2026-119279
Debian:13mariadb-connector-javano fix listedDEBIAN-CVE-2026-119279
Debian:14mariadb-connector-java3.5.10-1DEBIAN-CVE-2026-119279
Mavenorg.mariadb.jdbc:mariadb-java-client3.3.7GHSA-797x-p4mc-jwpm
Mavenorg.mariadb.jdbc:mariadb-java-client3.4.5GHSA-797x-p4mc-jwpm
Mavenorg.mariadb.jdbc:mariadb-java-client3.5.10GHSA-797x-p4mc-jwpm
Ubuntu:22.04:LTSmariadb-connector-javano fix listedUBUNTU-CVE-2026-119279
Ubuntu:24.04:LTSmariadb-connector-javano fix listedUBUNTU-CVE-2026-119279
Ubuntu:26.04:LTSmariadb-connector-javano fix listedUBUNTU-CVE-2026-119279
Ubuntu:26.10mariadb-connector-javano fix listedUBUNTU-CVE-2026-119279

Affected products (as reported)

VendorProductVersions
mariadb-corporation mariadb-connector-j >= 3.0.0, < 3.3.7>= 3.4.0, < 3.4.5>= 3.5.0, < 3.5.10

Weakness: CWE-130, CWE-190 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References