Vulnerability
CVE-2026-119279
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.
55 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-2447-h865-9wqv
- CGA-2fv6-985v-2m5x
- CGA-35rg-hcq3-xpg6
- CGA-36qr-fx2q-v69h
- CGA-47vj-gg6g-9m5j
- CGA-4f96-xjq4-3w6r
- CGA-5633-56xq-jf4j
- CGA-5mh2-j74p-rcmg
- CGA-678f-9fjm-7xqc
- CGA-6f75-mch6-6w48
- CGA-6fpp-qghv-q5mf
- CGA-6v24-x2cj-9v3h
- CGA-8465-4c3q-7h7h
- CGA-866c-xjmq-jrxq
- CGA-8h6v-2f6r-mrhg
- CGA-8r8r-qpfg-c55q
- CGA-8rgj-399j-qxgw
- CGA-92xf-6c3v-g3f8
- CGA-9324-hpmp-rpmg
- CGA-969j-qjf9-65fv
- CGA-9xpg-hrhc-92f4
- CGA-cfq3-mqg3-798x
- CGA-f2qq-77vf-9m8f
- CGA-fc7m-m4pg-xmmj
- CGA-ff53-8mg9-6f76
- CGA-fhmm-qv6h-4g6x
- CGA-g7hr-39mm-cp4c
- CGA-j83j-gmp6-87pq
- CGA-jc83-ffph-c7rj
- CGA-jc9r-2gvf-q2q6
- CGA-jfv8-7r94-m282
- CGA-jrwr-j884-v7rc
- CGA-mh77-x66j-qrf3
- CGA-mm4j-xj7j-vmgw
- CGA-mqmr-54f8-qvhh
- CGA-p7rq-6wg7-6gq6
- CGA-p8j7-8qhv-6gvf
- CGA-p9p9-vjgq-hp6w
- CGA-pmpf-cc8h-96v4
- CGA-pqxx-pfm9-ww32
- CGA-q73w-9w7j-qgr9
- CGA-q88f-g3fw-6qvp
- CGA-qph3-6g3r-2w39
- CGA-qxmj-xq2f-fp66
- CGA-rhc3-mh9x-m6gh
- CGA-rp4f-2qg8-m7rm
- CGA-rw3r-63r4-5vq6
- CGA-v3fj-v3xw-mg4c
- CGA-vmm5-qg45-r7x4
- CGA-wj4j-mjrv-j26w
-
DEBIAN-CVE-2026-119279
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…
-
GHSA-797x-p4mc-jwpm
MariaDB Connector/J: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths
-
RHVEX-CVE-2026-119279
org.mariadb.jdbc/mariadb-java-client: MariaDB Connector/J: Denial of Service via integer truncation in length handling
-
UBUNTU-CVE-2026-119279
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…
-
openSUSE-SU-2026:12401-1
mariadb-java-client-3.5.11-1.1 on GA media
References
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/30d4a883377a9b7762e02ee2c60d54567032ab99
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/dbbadc3e215c47bdb913ddf50739ada09a7f23ea
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.10
- https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-797x-p4mc-jwpm