CVE-2023-52968
MariaDB Server vulnerability analysis and mitigation

Overview

MariaDB Server versions 10.4 before 10.4.33, 10.5 before 10.5.24, 10.6 before 10.6.17, 10.7 through 10.11 before 10.11.7, 11.0 before 11.0.5, and 11.1 before 11.1.4 contain a vulnerability where the server calls fixfieldsifneeded under mysqlderivedprepare when derived is not yet prepared, leading to a findfieldintable crash. The vulnerability was disclosed in March 2025 and has been assigned CVE-2023-52968 (NVD).

Technical details

The vulnerability is related to incorrect behavior order (CWE-696) in the MariaDB server's handling of derived table preparation. When the server processes certain SQL queries involving derived tables, it calls the fixfieldsifneeded function before the derived table is properly prepared, resulting in a crash in the findfieldintable function. The vulnerability has been assigned a CVSS v3.1 base score of 4.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The primary impact of this vulnerability is a denial of service condition through server crashes. When exploited, the vulnerability affects the availability of the MariaDB server by causing it to crash during the processing of specific SQL queries involving derived tables (MariaDB Jira).

Mitigation and workarounds

The vulnerability has been fixed in MariaDB versions 10.4.33, 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4, 11.2.3, 11.3.2, and 11.4.1. Users are advised to upgrade to these or later versions to address the vulnerability (MariaDB Jira).

Additional resources


SourceThis report was generated using AI

Related MariaDB Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-rocksdb-engine-debuginfo
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-embedded
NoYesMar 08, 2025
CVE-2023-52969MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb105-server-utils
NoYesMar 08, 2025
CVE-2023-52968MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-embedded-devel
NoYesMar 08, 2025
CVE-2025-21490MEDIUM4.9
  • MySQLMySQL
  • mariadb-galera
NoYesJan 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management