# CVE-2021-46657

- 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-01-29 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-46657, DEBIAN-CVE-2021-46657
- Record: https://cvemate.com/vulnerability/CVE-2021-46657 · JSON: https://cvemate.com/vulnerability/CVE-2021-46657/json

## Description

```text
get_sort_by_table in MariaDB before 10.6.2 allows an application crash via certain subquery uses of ORDER BY.
```

## 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.403%, percentile 36.659%, 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): All versions (No fix recorded)
- mariadb mariadb: ≥ 5.5.20, ≤ 5.5.68 \| ≥ 10.0.0, \< 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-25629>
- <https://security.netapp.com/advisory/ntap-20220221-0002/>
- <https://mariadb.com/kb/en/security/>
- <https://ubuntu.com/security/CVE-2021-46657>
- <https://www.cve.org/CVERecord?id=CVE-2021-46657>
- <https://security-tracker.debian.org/tracker/CVE-2021-46657>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-46657>

---

Data as of 2026-12-05T06:26:33.128Z. 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
