CVE-2021-46661
MariaDB Server vulnerability analysis and mitigation

Overview

CVE-2021-46661 affects MariaDB through version 10.5.9, where an application crash can occur in findfieldintables and findorderinlist functions when processing an unused common table expression (CTE) (NVD, MariaDB Security).

Technical details

The vulnerability exists in MariaDB's query processing functionality where an unused common table expression (CTE) can trigger a crash in the findfieldintables and findorderinlist functions. The issue has 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 and the primary impact is on system availability (NVD).

Impact

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

Mitigation and workarounds

The vulnerability has been fixed in MariaDB versions 10.7.3, 10.6.7, 10.5.15, 10.4.24, 10.3.34, and 10.2.43. Users are advised to upgrade to these or later versions to address the vulnerability (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-30722MEDIUM6.8
  • MySQLMySQL
  • mariadb105-common
NoYesApr 15, 2025
CVE-2025-30693MEDIUM5.5
  • MySQLMySQL
  • mariadb-bench
NoYesApr 15, 2025
CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb1011-gssapi-server
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-errmsg
NoYesMar 08, 2025
CVE-2025-13699N/AN/A
  • MariaDB ServerMariaDB Server
  • Judy
NoYesNov 27, 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