# CVE-2026-119280: MariaDB Connector/J : XA recover() trusted server-supplied gtrid and bqual lengths

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 36% of CVEs (2026-11-30)
- Published: 2026-10-29T20:55:50.101Z
- Modified: 2026-10-30T23:15:05.680Z
- Also known as: GHSA-4jq2-8v3c-97w8
- Weaknesses: CWE-20, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mariadb-corporation mariadb-connector-j: >= 3.0.0, < 3.3.7; >= 3.4.0, < 3.4.5; >= 3.5.0, < 3.5.11
- org.mariadb.jdbc:mariadb-java-client (Maven): from 3.0.0 before 3.3.7; from 3.4.0 before 3.4.5; from 3.5.0 before 3.5.11

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-4jq2-8v3c-97w8> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/commit/280efcfb4390055858fa2dd12b722d85a6a13ab8> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/commit/47aba5a23548b35191865a428cc674316b95ee47> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/commit/e9d767103bfd178ed57caa4cb97bbfbf7e54da6b> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5> (web)
- <https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119280> (advisory)
- <https://github.com/mariadb-corporation/mariadb-connector-j> (package)

## Sources

- CVE List: [CVE-2026-119280](https://www.cve.org/CVERecord?id=CVE-2026-119280), CVE Terms of Use, modified 2026-10-30
- GitHub Advisory Database: [GHSA-4jq2-8v3c-97w8](https://github.com/advisories/GHSA-4jq2-8v3c-97w8), CC-BY-4.0, modified 2026-10-30
- NVD: [CVE-2026-119280](https://nvd.nist.gov/vuln/detail/CVE-2026-119280), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-119280 · Whole record: https://cve.day/CVE-2026-119280.json · Rebuilt by cve.day 2026-11-25T22:59:47.841Z
