Skip to content
Heist/ feed
Back to feed
MediumFix available

MariaDB: `qc_info` plugin can do OOB reads if query contains \0

Type: advisorySources: OSV

MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the qc_info plugin could be confused by a query containing embedded null bytes. Reading information_schema.query_cache_info after such a query was cached could access data beyond the end of a heap-allocated buffer, potentially disclosing adjacent memory or crashing the server. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

Products
mariadb
Affected versions
Not specified
Fixed versions
10.11.19, 10.6.28, 11.4.13, 11.8.9, 12.3.3, 13.0.2
CVEs
CVE-2026-107816
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 20:01 UTC · Revision 1

Source evidence

MariaDB: `qc_info` plugin can do OOB reads if query contains \0

core-osv · Original source

Published 16 Oct 2026, 08:41 UTC

MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the qc_info plugin could be confused by a query containing embedded null bytes. Reading information_schema.query_cache_info after such a query was cached could access data beyond the end of a heap-allocated buffer, potentially disclosing adjacent memory or crashing the server. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

osv:BIT-mariadb-2026-107816

mariadb

Fixed versions: 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2

Complete source record
{
  "id": "4248c18c3cbdcde378041f54628c558a4b64d447eef779770e7970a0215c33a2",
  "url": "https://osv.dev/vulnerability/BIT-mariadb-2026-107816",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MariaDB: `qc_info` plugin can do OOB reads if query contains \\0",
    "summary": "MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the qc_info plugin could be confused by a query containing embedded null bytes. Reading information_schema.query_cache_info after such a query was cached could access data beyond the end of a heap-allocated buffer, potentially disclosing adjacent memory or crashing the server. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.",
    "evidence": "osv:BIT-mariadb-2026-107816",
    "products": [
      {
        "name": {
          "value": "mariadb",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.6.28",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "10.11.19",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "11.4.13",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "11.8.9",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "12.3.3",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "13.0.2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "BIT-mariadb-2026-107816",
      "aliases": [
        "BIT-mariadb-2026-107816",
        "BIT-mariadb-min-2026-107816",
        "BIT-mysql-client-2026-107816",
        "CVE-2026-107816",
        "GHSA-wfqg-88r5-55f6"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "10.6.1"
                },
                {
                  "fixed": "10.6.28"
                },
                {
                  "introduced": "10.11.1"
                },
                {
                  "fixed": "10.11.19"
                },
                {
                  "introduced": "11.4.1"
                },
                {
                  "fixed": "11.4.13"
                },
                {
                  "introduced": "11.8.1"
                },
                {
                  "fixed": "11.8.9"
                },
                {
                  "introduced": "12.3.1"
                },
                {
                  "fixed": "12.3.3"
                },
                {
                  "introduced": "13.0.1"
                },
                {
                  "fixed": "13.0.2"
                }
              ]
            }
          ],
          "package": {
            "name": "mariadb",
            "purl": "pkg:bitnami/mariadb",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:L"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/mariadb/BIT-mariadb-2026-107816.json"
          }
        }
      ],
      "modified": "2026-10-16T09:55:34.769691222Z",
      "provider": "osv",
      "references": [
        "https://github.com/MariaDB/server/commit/0931994096b84ecc9ffc8eb3517c7e09e6e8631e",
        "https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19",
        "https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28",
        "https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13",
        "https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9",
        "https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3",
        "https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2",
        "https://github.com/MariaDB/server/security/advisories/GHSA-wfqg-88r5-55f6",
        "https://jira.mariadb.org/browse/MDEV-40670",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-107816"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*"
        ],
        "severity": "Medium"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107816",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 338680,
  "published_at": "2026-10-16T08:41:55.512+00:00"
}