> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/release-notes/connectors/java/3.5/3.5.10.md).

# Connector/J 3.5.10 Release Notes

<a href="https://mariadb.com/downloads/connectors/connectors-data-access/java8-connector" class="button primary">Download</a> <a href="/pages/8eywym9CP3JwsmgctOpj" class="button secondary">Release Notes</a> <a href="/pages/62QR7kcz1N5t7JW8aASi" class="button secondary">Changelog</a> <a href="/spaces/CjGYMsT2MVP4nd3IyW2L/pages/2w3wOBJquBYSZu4GiT0h" class="button secondary">Connector/J Overview</a>

**Release date:** 29 Jul 2026

MariaDB Connector/J 3.5.10 is a [***Stable***](/docs/release-notes/community-server/about/release-criteria.md) ***(GA)*** release.

{% hint style="info" %}
**For an overview of MariaDB Connector/J see the** [**About MariaDB Connector/J**](/docs/connectors/mariadb-connector-j/about-mariadb-connector-j.md) **page**
{% endhint %}

## Key Enhancements

* [CONJ-1333](https://jira.mariadb.org/browse/CONJ-1333) - Add the `maxAllowedPacket` connection option, bounding the size of packets the driver sends and accepts
* [CONJ-1339](https://jira.mariadb.org/browse/CONJ-1339) - Add the `maxAllowedColumns` connection option, bounding the server-announced column count (report by fg0x0)
* [CONJ-1330](https://jira.mariadb.org/browse/CONJ-1330) - Add Infer static analysis to CI

## Bugs Fixed

* [CONJ-1342](https://jira.mariadb.org/browse/CONJ-1342) - The `socketFactory` option allows loading arbitrary bytecode through a `jar:` URL, enabling remote code execution when the JDBC URL is attacker-controlled (report by Qing Xu)
* [CONJ-1332](https://jira.mariadb.org/browse/CONJ-1332) - Reject multipart (larger than 16MB) packets before authentication, to prevent a pre-authentication out-of-memory condition caused by a rogue server
* [CONJ-1340](https://jira.mariadb.org/browse/CONJ-1340) - SQL injection through unescaped identifiers in the statements generated for an updatable `ResultSet` (thanks to jmestwa-coder)
* [CONJ-1331](https://jira.mariadb.org/browse/CONJ-1331) - `trustStore`-configured TLS connections defer certificate-chain and identity validation instead of validating up front (thanks to jmestwa-coder)
* [CONJ-1329](https://jira.mariadb.org/browse/CONJ-1329) - `LOAD DATA LOCAL INFILE` validation fails open when a bound parameter cannot be rendered (thanks to jmestwa-coder)
* [CONJ-1326](https://jira.mariadb.org/browse/CONJ-1326) - Unsafe escaping in `enquoteLiteral()` and `enquoteNCharLiteral()` (thanks to jmestwa-coder)
* [CONJ-1328](https://jira.mariadb.org/browse/CONJ-1328) - The `restrictedAuth` allowlist is matched with a substring `contains()` instead of equality (thanks to jmestwa-coder)
* [CONJ-1338](https://jira.mariadb.org/browse/CONJ-1338) - Validate that length-encoded integers fit a non-negative `int` before using them as a length (report by fg0x0)
* [CONJ-1341](https://jira.mariadb.org/browse/CONJ-1341) - `MariaDbPoolDataSource.getConnection(user, password)` ignores the user argument when the pool's own password is supplied (report by fg0x0)
* [CONJ-1327](https://jira.mariadb.org/browse/CONJ-1327) - Align TLS hostname verification with TLS libraries: the certificate CN is ignored only when a SAN entry of the host type is present (thanks to jmestwa-coder)
* [CONJ-1336](https://jira.mariadb.org/browse/CONJ-1336) - [CONJ-1282](https://jira.mariadb.org/browse/CONJ-1282) regression: a TLS connection fails when the JDBC hostname is an absolute fully qualified domain name ending with a trailing dot (report by Shaswata, thanks to Pepo48 for the pull request)
* [CONJ-1337](https://jira.mariadb.org/browse/CONJ-1337) - Limit the parsec authentication PBKDF2 iteration factor for the duration of the connection
* [CONJ-1335](https://jira.mariadb.org/browse/CONJ-1335) - `getGeneratedKeys()` throws an `SQLDataException` with an "integer overflow" message after a batch insert when the auto-increment value exceeds `Integer.MAX_VALUE`, and returns bulk generated keys out of batch order
* [CONJ-1307](https://jira.mariadb.org/browse/CONJ-1307) - `Connection.setReadOnly(true)` still allows DML statements to execute

## Changelog

For a complete list of changes made in MariaDB Connector/J 3.5.10, with links to detailed\
information on each push, see the [changelog](/docs/release-notes/connectors/java/changelogs/3.5/3.5.10.md).

<sub>*This page is: Copyright © 2025 MariaDB. All rights reserved.*</sub>

{% @marketo/form formid="4316" formId="4316" %}
