# CVE-2021-46664

- 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: ALPINE-CVE-2021-46664, UBUNTU-CVE-2021-46664, DEBIAN-CVE-2021-46664
- Record: https://cvemate.com/vulnerability/CVE-2021-46664 · JSON: https://cvemate.com/vulnerability/CVE-2021-46664/json

## Description

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

## 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.43%, percentile 39.136%, 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

- alpine mariadb (Alpine Linux): ≥ 10.2.0, \< 10.4.24-r0 \| ≥ 10.2.0, \< 10.5.15-r0 \| ≥ 10.2.0, \< 10.6.7-r0 \| ≥ 10.4.0, \< 10.4.24-r0 \| ≥ 10.5.0, \< 10.5.15-r0 \| ≥ 10.6.0, \< 10.6.7-r0
- debian mariadb-10.5 (Debian): \< 1:10.5.15-0+deb11u1
- ubuntu mariadb-10.3 (Ubuntu): \< 1:10.3.34-0ubuntu0.20.04.1
- ubuntu mariadb-10.6 (Ubuntu): \< 1:10.6.7-2ubuntu1
- fedoraproject fedora: 34 \| 35 \| 36
- mariadb mariadb: ≥ 10.2.0, \< 10.2.43 \| ≥ 10.3.0, \< 10.3.34 \| ≥ 10.4.0, \< 10.4.24 \| ≥ 10.5.0, \< 10.5.15 \| ≥ 10.6.0, \< 10.6.7 \| ≥ 10.7.0, \< 10.7.3

## References

- <https://jira.mariadb.org/browse/MDEV-25761>
- <https://security.netapp.com/advisory/ntap-20220221-0002/>
- <https://mariadb.com/kb/en/security/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/>
- <https://security.alpinelinux.org/vuln/CVE-2021-46664>
- <https://ubuntu.com/security/CVE-2021-46664>
- <https://ubuntu.com/security/notices/USN-5305-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-46664>
- <https://security-tracker.debian.org/tracker/CVE-2021-46664>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-46664>

---

Data as of 2026-12-05T08:24:33.920Z. 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
