{
  "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": "49c92adfcf816853e324031ba9762a69444cfd12"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "52538206298db39062ad67939f1446b767cacde4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "ea8c7b6537e50053444188a9a3fd9cae99550f56"
                  }
                ],
                "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": "49c92adfcf816853e324031ba9762a69444cfd12"
            },
            {
              "fixed": "52538206298db39062ad67939f1446b767cacde4"
            },
            {
              "fixed": "ea8c7b6537e50053444188a9a3fd9cae99550f56"
            }
          ],
          "repo": "https://github.com/mariadb-corporation/mariadb-connector-j",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wfxr-v78w-p49r"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125",
      "CWE-130"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119277.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, decoders for OK packet session-state blocks, column definition packets, text row data, or binary row data used server-declared lengths without confirming that the requested bytes remained in the receive buffer. The decoders could position reads, create sub-buffers, or decode strings beyond the packet boundary. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException failures inside JDBC calls and terminate connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.",
  "id": "CVE-2026-119277",
  "modified": "2026-11-05T02:30:19.592266270Z",
  "published": "2026-10-29T20:49:24.148Z",
  "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-119277.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-wfxr-v78w-p49r"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119277"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/49c92adfcf816853e324031ba9762a69444cfd12"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/52538206298db39062ad67939f1446b767cacde4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/ea8c7b6537e50053444188a9a3fd9cae99550f56"
    }
  ],
  "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:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "MariaDB Connector/J: Rogue server can make the client read past the packet through server-declared lengths"
}