CVE-2026-119278
published medium CVSS 3.1 · 5.9MariaDB Connector/J: Rogue server can crash the client during caching_sha2_password authentication
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mariadb-corporation | — | mariadb-connector-j>= 3.0.0, < 3.3.7 · >= 3.4.0, < 3.4.5 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-clientaarch64 | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-clientppc64le | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-clients390x | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-clientx86_64 | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-client-javadocaarch64 | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-client-javadocppc64le | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-client-javadocs390x | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-client-javadocx86_64 | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
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 and 3.4.5, during caching_sha2_password authentication, the authentication-more-data response was treated as a length-encoded byte array, memory was allocated from the server-declared length, and authResult[0] was accessed without ensuring a byte existed. A malicious or compromised server, or a machine-in-the-middle attacker, could declare a very large length or send an empty response before any password was transmitted. The malformed packet could cause excessive allocation or an unchecked ArrayIndexOutOfBoundsException escaping from DriverManager.getConnection(). This issue is fixed in versions 3.3.7 and 3.4.5.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mariadb-corporation | mariadb-connector-j | >= 3.0.0, < 3.3.7 (affected)>= 3.4.0, < 3.4.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-129 CWE-129: Improper Validation of Array Index
- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
5- https://github.com/mariadb-corporation/mariadb-connector-j/commit/1e32b7010485f090cc402528c334301432495fbe
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/86a90b0dc9746aa3bd4aa1df264be22a2d1b7d98
- 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/security/advisories/GHSA-r9vh-xh4r-j6gr
Provider assertions
2GitHub_M · cna
MariaDB Connector/J: Rogue server can crash the client during caching_sha2_password authentication
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5a07f5d58ff5f83389fb35741240287304245ac33f8df31e76b76cc196a31ad2
- Ingested
- 30 Oct 2026, 16:02:46 UTC
- Source record
- Official CVE record