# CVE-2026-119277: MariaDB Connector/J buffer overflow in packet decoding

Source: https://junglewise.ai/threats/cve-2026-119277-mariadb-connector-j-is-used-to-connect-applications-developed-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-29. Updated: 2026-10-29  
License: CC BY 4.0 with a link back

CVE-2026-119277 · Severity: medium · CVSS 5.9 · Published 2026-10-29

MariaDB Connector/J is a driver that allows Java applications to connect to MariaDB and MySQL databases. A malicious or compromised database server can send specially crafted packets that cause the Java application to crash with unchecked exceptions, disrupting the connection and potentially the application itself. An attacker with network access to the database connection or able to intercept traffic could exploit this to cause denial of service.

Technologies: [MariaDB Connector/J](https://junglewise.ai/threats/technologies/mariadb-connector-j). Vendors: [Mariadb](https://junglewise.ai/threats/vendors/mariadb).

## Quick answers

**Is CVE-2026-119277 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-119277 being exploited in the wild.

**How severe is CVE-2026-119277?** Medium severity, with a CVSS score of 5.9, published 29 October 2026.

**Which products and versions are affected?** MariaDB Connector/J 3.0.0 to 3.3.6, 3.4.0 to 3.4.4, 3.5.0 to 3.5.10.

**Is there a fix for CVE-2026-119277?** Yes: fixed in 3.3.7, 3.4.5, 3.5.11. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-119277 attacked?** It is attacked over the network or from the adjacent network.

**Am I affected by CVE-2026-119277?** Check whether you run MariaDB Connector/J at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 3.3.7, 3.4.5, 3.5.11

## Technical details

The vulnerability exists in multiple packet decoders (OK packet session-state blocks, column definition packets, text row data, and binary row data) that use server-declared lengths without validating that the requested bytes remain in the receive buffer. This can cause ArrayIndexOutOfBoundsException or IllegalArgumentException to be thrown, terminating connection handling. The decoders could read beyond packet boundaries or create invalid sub-buffers, triggered by a malicious server or MITM attacker sending crafted packets.

## Affected products

- MariaDB Connector/J 3.0.0 to 3.3.6, 3.4.0 to 3.4.4, 3.5.0 to 3.5.10

## Timeline

- 2026-10-29: disclosed
- 2026-10-08: patched

## References

- [https://github.com/mariadb-corporation/mariadb-connector-j/commit/49c92adfcf816853e324031ba9762a69444cfd12](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/52538206298db39062ad67939f1446b767cacde4)

## Related threats

- [MariaDB Connector/J character set validation bypass](https://junglewise.ai/threats/cve-2026-119281-mariadb-connector-j-is-used-to-connect-applications-developed-in)
- [MariaDB Connector/J integer overflow in length encoding](https://junglewise.ai/threats/cve-2026-119279-mariadb-connector-j-is-used-to-connect-applications-developed-in)
- [MariaDB Connector/J array index out of bounds in caching_sha2_password](https://junglewise.ai/threats/cve-2026-119278-mariadb-connector-j-is-used-to-connect-applications-developed-in)
- [MariaDB Connector/J heap allocation denial of service](https://junglewise.ai/threats/cve-2026-119276-mariadb-connector-j-is-used-to-connect-applications-developed-in)
- [MariaDB Connector/J LOAD DATA LOCAL INFILE bypass in metadata queries](https://junglewise.ai/threats/cve-2026-119210-mariadb-connector-j-is-used-to-connect-applications-developed-in)
