MariaDB Connector/J: Rogue server can make the client read past the packet through server-declared lengths
Impact
MariaDB Connector/J versions 3.0.0 to 3.3.7, 3.4.0 to 3.4.5, and 3.5.0 to 3.5.11 are affected by a vulnerability where a rogue server can cause the client to read past the packet boundary. A malicious server or man-in-the-middle attacker can trigger failures. The issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
mariadb-corporation · GitHub_M
mariadb-connector-j
3 ranges
mariadb-corporation · GitHub_M
mariadb-connector-j
Compare with this publisher’s ranges. This does not inspect your installation.
affected
>= 3.0.0, < 3.3.7
>= 3.4.0, < 3.4.5
>= 3.5.0, < 3.5.11
Other versions: unknown
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119277View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.