# CVE-2021-46666

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-02-01 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-46666, DEBIAN-CVE-2021-46666
- Record: https://cvemate.com/vulnerability/CVE-2021-46666 · JSON: https://cvemate.com/vulnerability/CVE-2021-46666/json

## Description

```text
MariaDB before 10.6.2 allows an application crash because of mishandling of a pushdown from a HAVING clause to a WHERE clause.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.42%, percentile 38.279%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian mariadb-10.5 (Debian): \< 1:10.5.11-1
- ubuntu mariadb-10.3 (Ubuntu): \< 1:10.3.30-0ubuntu0.20.04.1
- ubuntu mariadb-10.6 (Ubuntu): \< 1:10.6.7-2ubuntu1
- mariadb mariadb: \< 10.2.39 \| ≥ 10.3.0, \< 10.3.30 \| ≥ 10.4.0, \< 10.4.20 \| ≥ 10.5.0, \< 10.5.11 \| ≥ 10.6.0, \< 10.6.2

## References

- <https://jira.mariadb.org/browse/MDEV-25635>
- <https://security.netapp.com/advisory/ntap-20220221-0002/>
- <https://mariadb.com/kb/en/security/>
- <https://ubuntu.com/security/CVE-2021-46666>
- <https://www.cve.org/CVERecord?id=CVE-2021-46666>
- <https://security-tracker.debian.org/tracker/CVE-2021-46666>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-46666>

---

Data as of 2026-12-05T07:42:14.055Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
