CVE-2026-107816

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

Published Oct 9, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A query sent to the MariaDB qc_info plugin that contains an embedded null byte can cause the server to read past the end of a heap-allocated buffer. This out‑of‑bounds read may expose memory that holds sensitive data or lead to a server crash. The vulnerability is classified as a buffer overread (CWE‑125).

Affected Systems

MariaDB Server is affected. The vulnerability exists in versions 10.6.1 through 10.6.28, 10.11.1 through 10.11.19, 11.4.0 through 11.4.13, 11.8.0 through 11.8.9, 12.3.0 through 12.3.3, and 13.0.0 through 13.0.2. All of those releases are fixed in the corresponding patch releases 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score is not available, but the lack of a listing in the CISA KEV catalog suggests no publicly known exploits yet. However, an attacker can send a malicious query over the network with an embedded null byte to trigger the vulnerability. If successful, the attacker could read adjacent memory or cause an unmanaged crash, potentially leading to data leakage or denial of service. The risk remains present until the affected servers are updated to the patched releases.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the MariaDB Server to the latest patched release (10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2) that includes the qc_info plugin fix.
  • Disable the qc_info plugin on any servers that cannot be upgraded immediately, for example by executing `UNINSTALL PLUGIN qc_info` or setting `plugin-load = -qc_info.so` in the MariaDB configuration.
  • Implement application‑level sanitization or database configuration changes to reject queries containing embedded null bytes, thereby preventing accidental triggering of the buffer overread until the patch can be applied.

Generated by OpenCVE AI on October 9, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mariadb mariadb
CPEs cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
Vendors & Products Mariadb mariadb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mariadb
Mariadb server
Vendors & Products Mariadb
Mariadb server
Type Values Removed Values Added
Description 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.
Title MariaDB: `qc_info` plugin can do OOB reads if query contains \0
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 8:27 PM
Reserved
Oct 8, 2026, 9:23 PM
Status
Analyzed
Published
Oct 9, 2026, 6:17 PM
Modified
Oct 14, 2026, 2:12 PM
Severity
Moderate
Public date
Oct 9, 2026, 5:19 PM