CVE-2026-107816·MariaDB vulnerability
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.
- Severity
- medium
- Software
- MariaDB
- Fixed in
- 13.0.2
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.31% — higher than 22% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 13.0.1
Until: 13.0.2
Fixed in: 13.0.2
How to fix this CVE
Update MariaDB server to version 11.8.9 or later to patch a memory disclosure vulnerability in the query cache info plugin. The vulnerability allows attackers with database access to read adjacent heap memory or crash the server by executing queries with embedded null bytes. Immediate patching is recommended for all affected MariaDB installations.
sudo dnf update mariadb-serverDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed MariaDB version with: mysql --version or mariadb --version
- Step 2: Query the server for exact version: SELECT VERSION(); — confirm if it is below 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2
- Step 3: Verify if the qc_info plugin is enabled by querying: SELECT * FROM information_schema.plugins WHERE PLUGIN_NAME='query_cache_info';
- Step 4: After patching, re-run mysql --version and SELECT VERSION(); to confirm the fix was applied
FAQ
What is CVE-2026-107816?
This vulnerability affects MariaDB's query cache info plugin, which can be bypassed using null byte injection in SQL queries. When the cached query is subsequently read from information_schema.query_cache_info, an out-of-bounds heap read occurs, potentially exposing sensitive memory or causing a denial of service.
Is CVE-2026-107816 being actively exploited?
No, there is currently no public exploit available for CVE-2026-107816, and it is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog as of this advisory.
What versions of MariaDB are affected by CVE-2026-107816?
Affected versions include 10.6.1 through 10.6.27, 10.11.x through 10.11.18, 11.4.x through 11.4.12, 11.8.x through 11.8.8, 12.3.x through 12.3.2, and 13.0.x through 13.0.1. All versions from 10.6.1 onward are potentially vulnerable.
How do I check if my server is vulnerable to CVE-2026-107816?
Run 'mariadb --version' and check if the version is below the fixed versions (10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2). Additionally, verify the qc_info plugin is loaded with: SELECT * FROM information_schema.plugins WHERE PLUGIN_NAME='query_cache_info';
Does Defensia detect CVE-2026-107816?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If MariaDB is installed on a monitored server, CVE-2026-107816 will appear in your dashboard with remediation steps.
Related MariaDB CVEs
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
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-107816. Free for 1 server.
Get started free