CVE-2026-119280
published low CVSS 3.1 · 3.7MariaDB Connector/J : XA recover() trusted server-supplied gtrid and bqual lengths
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 · >= 3.5.0, < 3.5.11 | 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, 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.
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
- 3.7 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
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)>= 3.5.0, < 3.5.11 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
7- https://github.com/mariadb-corporation/mariadb-connector-j/commit/280efcfb4390055858fa2dd12b722d85a6a13ab8
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/47aba5a23548b35191865a428cc674316b95ee47
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/e9d767103bfd178ed57caa4cb97bbfbf7e54da6b
- 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/releases/tag/3.5.11
- https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-4jq2-8v3c-97w8
Provider assertions
2GitHub_M · cna
MariaDB Connector/J : XA recover() trusted server-supplied gtrid and bqual lengths
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3eefe36fa2f69fbc83330eddd44bba968f5abb15a23820d2ff7d8694e999b369
- Ingested
- 30 Oct 2026, 17:14:28 UTC
- Source record
- Official CVE record