CWE
476
Advisory Published
Updated

CVE-2021-46664: Null Pointer Dereference

First published: Tue Feb 01 2022(Updated: )

MariaDB through 10.5.9 allows an application crash in sub_select_postjoin_aggr for a NULL value of aggr.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/mariadb<10.2.43
10.2.43
redhat/mariadb<10.3.34
10.3.34
redhat/mariadb<10.4.24
10.4.24
redhat/mariadb<10.5.15
10.5.15
redhat/mariadb<10.6.7
10.6.7
redhat/mariadb<10.7.3
10.7.3
redhat/mariadb<10.8.2
10.8.2
MariaDB Server>=10.2.0<10.2.43
MariaDB Server>=10.3.0<10.3.34
MariaDB Server>=10.4.0<10.4.24
MariaDB Server>=10.5.0<10.5.15
MariaDB Server>=10.6.0<10.6.7
MariaDB Server>=10.7.0<10.7.3
Fedora=34
Fedora=35
Fedora=36

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.

Reference Links

Frequently Asked Questions

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

    The severity of CVE-2021-46664 is classified as a medium risk due to its potential to cause application crashes.

  • How do I fix CVE-2021-46664?

    To fix CVE-2021-46664, upgrade to MariaDB versions 10.2.43, 10.3.34, 10.4.24, 10.5.15, 10.6.7, 10.7.3, or newer.

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

    CVE-2021-46664 affects MariaDB versions prior to 10.5.10 and includes versions 10.2.x up to 10.2.43, 10.3.x up to 10.3.34, 10.4.x up to 10.4.24, and 10.5.x up to 10.5.9.

  • What exploit does CVE-2021-46664 represent?

    CVE-2021-46664 represents an application crash exploit that occurs in the sub_select_postjoin_aggr function when a NULL value of aggr is encountered.

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

    A viable workaround for CVE-2021-46664 is to avoid sending NULL values in the aggregate function aggr for affected MariaDB versions.

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