CVE-2021-46658
MariaDB Server vulnerability analysis and mitigation

Overview

CVE-2021-46658 affects MariaDB versions before 10.6.3, specifically impacting the save_window_function_values functionality. The vulnerability was discovered in early 2021 and involves incorrect handling of with_window_func=true for a subquery (NVD, MariaDB Security).

Technical details

The vulnerability has a CVSS v3.1 Base Score of 5.5 (MEDIUM) with a vector of CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The issue specifically occurs in the save_window_function_values function when processing window functions in left expressions of IN subqueries (MariaDB Issue, NetApp Advisory).

Impact

When successfully exploited, this vulnerability can lead to an application crash, resulting in a Denial of Service (DoS) condition. 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 version 10.6.3 and corresponding security patches have been released for affected versions including 10.2.40, 10.3.31, 10.4.21, and 10.5.12. Users are advised to upgrade to these or later versions to mitigate 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-13699HIGH7
  • MariaDB ServerMariaDB Server
  • mariadb1011-connect-engine
NoYesDec 23, 2025
CVE-2025-30722MEDIUM6.8
  • MySQLMySQL
  • mysql-debugsource
NoYesApr 15, 2025
CVE-2025-30693MEDIUM5.5
  • MySQLMySQL
  • mariadb-10.6
NoYesApr 15, 2025
CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-11.6
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb:10.11::mariadb-backup
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