Skip to main content
CVE-2026-119276VulnerabilityPublished

org.mariadb.jdbc:mariadb-java-client · MariaDB Connector/J: Rogue server can drive large heap allocations from server-declared lengths in OK packets

Affects org.mariadb.jdbc:mariadb-java-clientSource GCVE Database

0
Compare
Authoritative record:CVE-2026-119276· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium : upgrade to 3.3.7 when convenient.

Data as of 31 Oct 2026, 02:06 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.3.7, 3.4.5, 3.5.11
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 30 Oct 2026.

What to do

Upgrade org.mariadb.jdbc:mariadb-java-client to 3.3.7; org.mariadb.jdbc:mariadb-java-client to 3.4.5; org.mariadb.jdbc:mariadb-java-client to 3.5.11.

Affected software

ProductAffectedFixed in
Mavenorg.mariadb.jdbc:mariadb-java-clientAffected
  • >=3.0.0 <3.3.7
Fixed in
  • 3.3.7
Mavenorg.mariadb.jdbc:mariadb-java-clientAffected
  • >=3.4.0 <3.4.5
Fixed in
  • 3.4.5
Mavenorg.mariadb.jdbc:mariadb-java-clientAffected
  • >=3.5.0 <3.5.11
Fixed in
  • 3.5.11

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in MariaDB Connector/J versions 3.3.7, 3.4.5, and 3.5.11. Users should upgrade to these or later versions to mitigate the vulnerability. No additional mitigation steps are required as the patch properly validates server-declared lengths before allocation.

Description

MariaDB Connector/J versions before 3.3.7, 3.4.5, and 3.5.11 contain a vulnerability where a rogue or MitM server can cause the client to allocate large amounts of heap memory based on server-declared lengths in OK packets. This can lead to excessive garbage collection pressure and potentially an OutOfMemoryError, impacting availability. The flaw arises because the client allocates memory before validating that the declared lengths fit within the actual packet size. The issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.

References

Community reviews

Loading reviews…