{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.0.0"
                  },
                  {
                    "fixed": "3.3.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "3.4.0"
                  },
                  {
                    "fixed": "3.4.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "3.5.0"
                  },
                  {
                    "fixed": "3.5.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "280efcfb4390055858fa2dd12b722d85a6a13ab8"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "47aba5a23548b35191865a428cc674316b95ee47"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "e9d767103bfd178ed57caa4cb97bbfbf7e54da6b"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "3.3.7",
                "range": [
                  {
                    "fixed": "4d2f8002399949ed7f138e9c0b75b69229538120"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "3.4.5",
                "range": [
                  {
                    "fixed": "5812e0ca7574c3934915179b76f2e819a556d099"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "3.5.11",
                "range": [
                  {
                    "fixed": "a4891f877f1c885a573194771c1ed0aacec0ce1d"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4d2f8002399949ed7f138e9c0b75b69229538120"
            },
            {
              "introduced": "c19f608838fdcb18fa81cab8a607afdaa5131a58"
            },
            {
              "fixed": "5812e0ca7574c3934915179b76f2e819a556d099"
            },
            {
              "introduced": "8be57f3b4bd0b1112cf871d9426beda6919b3bb7"
            },
            {
              "fixed": "a4891f877f1c885a573194771c1ed0aacec0ce1d"
            },
            {
              "fixed": "280efcfb4390055858fa2dd12b722d85a6a13ab8"
            },
            {
              "fixed": "47aba5a23548b35191865a428cc674316b95ee47"
            },
            {
              "fixed": "e9d767103bfd178ed57caa4cb97bbfbf7e54da6b"
            }
          ],
          "repo": "https://github.com/mariadb-corporation/mariadb-connector-j",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4jq2-8v3c-97w8"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-20",
      "CWE-789"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119280.json"
  },
  "details": "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.",
  "id": "CVE-2026-119280",
  "modified": "2026-11-01T02:30:54.751390181Z",
  "published": "2026-10-29T20:55:50.101Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119280.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-4jq2-8v3c-97w8"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119280"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/280efcfb4390055858fa2dd12b722d85a6a13ab8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/47aba5a23548b35191865a428cc674316b95ee47"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/e9d767103bfd178ed57caa4cb97bbfbf7e54da6b"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "MariaDB Connector/J : XA recover() trusted server-supplied gtrid and bqual lengths"
}