Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.mariadb.jdbc/mariadb-java-client
  4. ›
  5. CVE-2026-119276

CVE-2026-119276: MariaDB Connector/J: Rogue server can drive large heap allocations from server-declared lengths in OK packets

October 30, 2026

MariaDB Connector/J sized heap allocations from lengths declared by the server in OK packets before checking that those lengths fit in the packet. A rogue or MitM server can make the client allocate megabytes from a packet of a few bytes.

References

  • github.com/advisories/GHSA-h599-m3w5-9m7x
  • github.com/mariadb-corporation/mariadb-connector-j/commit/b9e1ee8d9b4d820d70719504cdfd5c97f1aede5f
  • github.com/mariadb-corporation/mariadb-connector-j/commit/beb445fcf9294113878fc05ac77f0efdf0596ac6
  • github.com/mariadb-corporation/mariadb-connector-j/commit/ea8c7b6537e50053444188a9a3fd9cae99550f56
  • github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7
  • github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5
  • github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11
  • github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-h599-m3w5-9m7x
  • nvd.nist.gov/vuln/detail/CVE-2026-119276

Code Behaviors & Features

Detect and mitigate CVE-2026-119276 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.0.0 before 3.3.7, all versions starting from 3.4.0 before 3.4.5, all versions starting from 3.5.0 before 3.5.11

Fixed versions

  • 3.3.7
  • 3.4.5
  • 3.5.11

Solution

Upgrade to versions 3.3.7, 3.4.5, 3.5.11 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-130: Improper Handling of Length Parameter Inconsistency
  • CWE-789: Memory Allocation with Excessive Size Value

Source file

maven/org.mariadb.jdbc/mariadb-java-client/CVE-2026-119276.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:56 +0000.