What’s Vulnerable › Vulnerabilities
CVE-2021-46666
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-01 · updated 2026-06-17
- Weakness: CWE-617
Description
MariaDB before 10.6.2 allows an application crash because of mishandling of a pushdown from a HAVING clause to a WHERE clause.
Affected products
- MariaDB: before 10.2.39; from 10.3.0 before 10.3.30; from 10.4.0 before 10.4.20; from 10.5.0 before 10.5.11; from 10.6.0 before 10.6.2 — fixed in 10.2.39, 10.3.30, 10.4.20, 10.5.11, 10.6.2
How to fix
Upgrade to a fixed version: MariaDB 10.2.39, 10.3.30, 10.4.20, 10.5.11. Check the vendor advisory for mitigations.
References
- https://jira.mariadb.org/browse/MDEV-25635
- https://mariadb.com/kb/en/security/
- https://security.netapp.com/advisory/ntap-20220221-0002/
- https://jira.mariadb.org/browse/MDEV-25635
- https://mariadb.com/kb/en/security/
- https://security.netapp.com/advisory/ntap-20220221-0002/
Get alerted when CVE-2021-46666 or the next vulnerability affects your stack