CVE-2026-107816 MariaDB: `qc_info` plugin can do OOB reads if query contains \0

Medium 6.4 Published Updated

An out-of-bounds read in the MariaDB qc_info plugin allows attackers to disclose memory or crash the server via crafted queries.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-107816?

CVE-2026-107816 is a medium-severity memory corruption vulnerability in Mariadb Mariadb, published on 9 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2026-107816?

3 open source packages ship an affected version, including mariadb, mariadb-min and mysql-client. It affects 1 product.

PackageAffectedFixed in
mariadb BitnamiFrom 10.6.110.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2
mariadb-min BitnamiFrom 10.6.110.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2
mysql-client BitnamiFrom 10.6.110.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2

Products include Mariadb Mariadb.

How do I fix CVE-2026-107816?

Upgrade mariadb to a fixed version for your release line: 10.6.28, 10.11.19, 11.4.13 or 11.8.9.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-107816 being exploited?

There is no known exploitation of CVE-2026-107816 in the wild and no public exploit code.

All Mariadb Mariadb vulnerabilities

Sources

Also known as BELL-CVE-2026-107816, BIT-mariadb-2026-107816, BIT-mariadb-min-2026-107816, BIT-mysql-client-2026-107816, DEBIAN-CVE-2026-107816, ECHO-ee76-63da-e27e and 8 more.

Is CVE-2026-107816 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free