Advisory Published
Updated

CVE-2021-46658

First published: Sat Jan 29 2022(Updated: )

save_window_function_values in MariaDB before 10.6.3 allows an application crash because of incorrect handling of with_window_func=true for a subquery.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/mariadb<10.2.40
10.2.40
redhat/mariadb<10.3.31
10.3.31
redhat/mariadb<10.4.21
10.4.21
redhat/mariadb<10.5.12
10.5.12
redhat/mariadb<10.6.3
10.6.3
MariaDB Server>=10.2.0<10.2.40
MariaDB Server>=10.3.0<10.3.31
MariaDB Server>=10.4.0<10.4.21
MariaDB Server>=10.5.0<10.5.12
MariaDB Server>=10.6.0<10.6.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-46658?

    CVE-2021-46658 has a high severity due to the potential for application crashes.

  • How do I fix CVE-2021-46658?

    To fix CVE-2021-46658, upgrade MariaDB to version 10.6.3 or later.

  • Which versions of MariaDB are affected by CVE-2021-46658?

    CVE-2021-46658 affects MariaDB versions before 10.6.3, specifically versions 10.2.0 to 10.2.40, 10.3.0 to 10.3.31, 10.4.0 to 10.4.21, and 10.5.0 to 10.5.12.

  • What is the impact of exploiting CVE-2021-46658?

    Exploiting CVE-2021-46658 can lead to an application crash when handling subqueries with window functions.

  • Is there a workaround for CVE-2021-46658?

    There are no known workarounds for CVE-2021-46658; the only solution is to update to the fixed version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203