CVE-2026-119279: mariadb-connector-j · Improper Handling of Length Parameter Inconsistency
Affects mariadb-connector-jSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium · fixed in 3.5.10 : update mariadb-connector-j when convenient.
Data as of 29 Oct 2026, 21:15 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 3.5.10, 3.4.5, 3.3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade mariadb-connector-j to 3.5.10, 3.4.5 or 3.3.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mariadb-corporationmariadb-connector-j | Affected
| Fixed in
|
| mariadb-corporationmariadb-connector-j | Affected
| Fixed in
|
| mariadb-corporationmariadb-connector-j | Affected
| Fixed in
|
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.
References
- github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-797x-p4mc-jwpm (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/30d4a883377a9b7762e02ee2c60d54567032ab99 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/commit/dbbadc3e215c47bdb913ddf50739ada09a7f23ea (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5 (opens in a new tab)
- github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.10 (opens in a new tab)