🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2758

Bug#1152641: mariadb-connector-java: CVE-2026-119210 CVE-2026-119276 CVE-2026-119277 CVE-2026-119280 CVE-2026-119281

#2758
From: Salvatore Bonaccorso
Date: Fri, 30 Oct 2026 22:10
106 lines
6909 bytes
Package: mariadb-connector-java
Version: 3.5.10-1
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security upstream

Hi,

The following vulnerabilities were published for mariadb-connector-java.

CVE-2026-119210[0]:
| 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, the ClientMessage.validateLocalFileName() check used a
| regular expression that could match LOAD DATA LOCAL INFILE text
| inside quoted identifiers, string literals, or comments instead of
| requiring a real statement. A malicious or compromised server, or a
| machine-in-the-middle attacker, could return crafted database or
| table identifiers that the connector reused in metadata or
| updatable-result queries, then answer with a LOCAL INFILE request
| for a client file. With allowLocalInfile enabled, this caused the
| connector to stream any readable client-host file named by the
| crafted text, including through DatabaseMetaData.getImportedKeys(),
| DatabaseMetaData.getExportedKeys(), or ResultSet.updateRow() paths.
| This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.


CVE-2026-119276[1]:
| 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, when CLIENT_SESSION_TRACK was negotiated, the
| OkPacket.parse() and OkPacket.parseWithInfo() paths allocated byte
| arrays using server-declared lengths for the OK packet info field
| and session-state variable names and values before confirming that
| the bytes remained in the packet. A malicious or compromised server,
| or a machine-in-the-middle attacker, could send a small OK packet
| declaring a much larger length and repeatedly force attacker-
| controlled heap allocations before the subsequent copy failed. This
| could create garbage-collection pressure or an OutOfMemoryError in
| the client application. This issue is fixed in versions 3.3.7,
| 3.4.5, and 3.5.11.


CVE-2026-119277[2]:
| 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.


CVE-2026-119280[3]:
| 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, the MariaDbPoolConnection.recover() and
| MariaDbPoolPinnedConnection.recover() implementations trusted the
| gtrid_length and bqual_length columns returned by XA RECOVER. The
| methods allocated and split Xid byte arrays without validating the
| lengths against Xid.MAXGTRIDSIZE, Xid.MAXBQUALSIZE, or the actual
| data payload. A malicious or compromised server, or a machine-in-
| the-middle attacker, could cause large allocations,
| NegativeArraySizeException, or ArrayIndexOutOfBoundsException during
| XA recovery. This issue is fixed in versions 3.3.7, 3.4.5, and
| 3.5.11.


CVE-2026-119281[4]:
| 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, the connector assumed result bytes were UTF-8 but
| guarded only changes to character_set_client. It did not reject non-
| UTF-8 character_set_results changes and relied on the server's
| global session_track_system_variables configuration to report
| character-set changes. A malicious or compromised server, or a
| machine-in-the-middle attacker, could suppress tracking or change
| the result charset so application strings differed from the returned
| bytes, potentially defeating application-side validation or escaping
| that depended on the decoded values. This issue is fixed in versions
| 3.3.7, 3.4.5, and 3.5.11.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-119210
    https://www.cve.org/CVERecord?id=CVE-2026-119210
[1] https://security-tracker.debian.org/tracker/CVE-2026-119276
    https://www.cve.org/CVERecord?id=CVE-2026-119276
[2] https://security-tracker.debian.org/tracker/CVE-2026-119277
    https://www.cve.org/CVERecord?id=CVE-2026-119277
[3] https://security-tracker.debian.org/tracker/CVE-2026-119280
    https://www.cve.org/CVERecord?id=CVE-2026-119280
[4] https://security-tracker.debian.org/tracker/CVE-2026-119281
    https://www.cve.org/CVERecord?id=CVE-2026-119281

Regards,
Salvatore
Technical Details
Message-ID: <NU2Xn-8TbT-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Salvatore Bonaccorso <carnil@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152641: mariadb-connector-java: CVE-2026-119210 CVE-2026-119276 CVE-2026-119277 CVE-2026-119280 CVE-2026-119281
Date: Fri, 30 Oct 2026 23:10:01 +0100
Message-ID: <NU2Xn-8TbT-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Oct 30 22:09:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1152641@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, pkg-java-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: report 1152641
X-Debian-Pr-Package: mariadb-connector-java
X-Debian-Pr-Keywords: security upstream
X-Debian-Pr-Source: mariadb-connector-java
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: carnil
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999833
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 106
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 30 Oct 2026 23:06:56 +0100
X-Original-Message-ID: <auUVADjG1UhbCce_@eldamar.lan>