Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/30d4a883377a9b
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/bfd9f5ad666a6f
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/dbbadc3e215c47
- 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/G
FAQ
What is CVE-2026-119279?
CVE-2026-119279 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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.re...
How severe is CVE-2026-119279?
CVE-2026-119279 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-119279?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.