# CVE-2021-46662

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

## Description

```text
MariaDB through 10.5.9 allows a set_var.cc application crash via certain uses of an UPDATE statement in conjunction with a nested subquery.
```

## 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.28%, 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.3.0, \< 10.6.7-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
- mariadb mariadb: ≥ 10.3.0, \< 10.3.32 \| ≥ 10.4.0, \< 10.4.22 \| ≥ 10.5.0, \< 10.5.13 \| ≥ 10.6.0, \< 10.6.5

## References

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

---

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