{
  "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.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "30d4a883377a9b7762e02ee2c60d54567032ab99"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "dbbadc3e215c47bdb913ddf50739ada09a7f23ea"
                  }
                ],
                "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.10",
                "range": [
                  {
                    "fixed": "6164678e83aa9d203939d5bec73bd4571cbec8a2"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4d2f8002399949ed7f138e9c0b75b69229538120"
            },
            {
              "introduced": "c19f608838fdcb18fa81cab8a607afdaa5131a58"
            },
            {
              "fixed": "5812e0ca7574c3934915179b76f2e819a556d099"
            },
            {
              "introduced": "8be57f3b4bd0b1112cf871d9426beda6919b3bb7"
            },
            {
              "fixed": "6164678e83aa9d203939d5bec73bd4571cbec8a2"
            },
            {
              "fixed": "30d4a883377a9b7762e02ee2c60d54567032ab99"
            },
            {
              "fixed": "bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667"
            },
            {
              "fixed": "dbbadc3e215c47bdb913ddf50739ada09a7f23ea"
            }
          ],
          "repo": "https://github.com/mariadb-corporation/mariadb-connector-j",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-797x-p4mc-jwpm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-130",
      "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119279.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.10, the ReadableByteBuf.readLength() and ReadableByteBuf.readIntLengthEncodedNotNull() methods narrowed the protocol's unsigned 8-byte length-encoded integer to a Java int without checking that the value fit a non-negative integer. Values above Integer.MAX_VALUE could wrap to a negative or unrelated length that downstream allocation and read paths used. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger NegativeArraySizeException, out-of-bounds failures, or oversized allocation behavior in client connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.10.",
  "id": "CVE-2026-119279",
  "modified": "2026-11-05T02:30:56.445284557Z",
  "published": "2026-10-29T20:52:22.903Z",
  "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.10"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119279.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-797x-p4mc-jwpm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119279"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/30d4a883377a9b7762e02ee2c60d54567032ab99"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/dbbadc3e215c47bdb913ddf50739ada09a7f23ea"
    }
  ],
  "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: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths"
}