CVE-2021-46664: Null Pointer Dereference

Published Feb 1, 2022
·
Updated

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

Affected Software

16 affected componentsFixes available
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 MariaDB>=10.2.0<10.2.43
MariaDB MariaDB>=10.3.0<10.3.34
MariaDB MariaDB>=10.4.0<10.4.24
MariaDB MariaDB>=10.5.0<10.5.15
MariaDB MariaDB>=10.6.0<10.6.7
MariaDB MariaDB>=10.7.0<10.7.3
fedoraproject fedora=34
fedoraproject fedora=35
fedoraproject fedora=36

Event History

Feb 1, 2022
CVE Published
via MITRE·01:47 AM
Data Sourced
via MITRE·01:47 AM
Description

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203