MariaDB Connector/J : XA recover() trusted server-supplied gtrid and bqual lengths
Summary
| CVE | CVE-2026-119280 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-29 21:17:21 UTC |
| Updated | 2026-10-29 21:17:21 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 3.7 LOW from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Problem Types: CWE-20 | CWE-789 | CWE-20 CWE-20: Improper Input Validation | CWE-789 CWE-789: Memory Allocation with Excessive Size Value
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | CNA | DECLARED | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Mariadb-corporation | Mariadb-connector-j | affected >= 3.0.0, < 3.3.7 | Not specified |
| CNA | Mariadb-corporation | Mariadb-connector-j | affected >= 3.4.0, < 3.4.5 | Not specified |
| CNA | Mariadb-corporation | Mariadb-connector-j | affected >= 3.5.0, < 3.5.11 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7 | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11 | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5 | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/security/advisories/G... | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/commit/e9d767103bfd17... | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/commit/280efcfb439005... | [email protected] | github.com | |
| github.com/mariadb-corporation/mariadb-connector-j/commit/47aba5a23548b3... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.