Skip to main content
VulnerabilityPublished

CVE-2026-119279: mariadb-connector-j · Improper Handling of Length Parameter Inconsistency

Affects mariadb-connector-jSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
mariadb-corporationmariadb-connector-jAffected
  • >=3.5.0 <3.5.10
Fixed in
  • 3.5.10
mariadb-corporationmariadb-connector-jAffected
  • >=3.4.0 <3.4.5
Fixed in
  • 3.4.5
mariadb-corporationmariadb-connector-jAffected
  • >=3.0.0 <3.3.7
Fixed in
  • 3.3.7

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

Community reviews

Loading reviews…