CVE-2021-46666
MariaDB Server vulnerability analysis and mitigation

Overview

CVE-2021-46666 affects MariaDB versions before 10.6.2, causing an application crash due to mishandling of a pushdown from a HAVING clause to a WHERE clause. The vulnerability was discovered in early 2021 and fixed in multiple MariaDB versions including 10.2.39, 10.3.30, 10.4.20, and 10.5.11 (MariaDB Security, NVD).

Technical details

The vulnerability stems from an assertion failure that occurs when pushing conditions from a HAVING clause into a WHERE clause of a view. This issue was identified through fuzzing testing and can result in a system crash. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access is required for exploitation (MariaDB Issue).

Impact

When successfully exploited, this vulnerability leads to a Denial of Service (DoS) condition through an application crash. The impact is limited to availability, with no direct effect on confidentiality or integrity of the system (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in MariaDB versions 10.2.39, 10.3.30, 10.4.20, and 10.5.11. Users are advised to upgrade to these or later versions to mitigate the vulnerability. No temporary workarounds have been published (MariaDB Security).

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-2025-13699HIGH7
  • MariaDB ServerMariaDB Server
  • mariadb-devel:10.3::mariadb-embedded
NoYesDec 23, 2025
CVE-2025-30722MEDIUM6.8
  • MySQLMySQL
  • mariadb1011-server-utils
NoYesApr 15, 2025
CVE-2025-30693MEDIUM5.5
  • MySQLMySQL
  • mysql:8.0::mecab-ipadic-EUCJP
NoYesApr 15, 2025
CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-11.4
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • galera-debuginfo
NoYesMar 08, 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