cve.bz

CVE-2021-46666 mariadb mariadb: Reachable Assertion

5.5 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.5) in mariadb mariadb. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
MariaDB before 10.6.2 allows an application crash because of mishandling of a pushdown from a HAVING clause to a WHERE clause.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-617 Reachable Assertion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-46666 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-46666?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-46666?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-46666 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mariadb:mariadbbefore 10.2.39
mariadb:mariadbfrom 10.3.0 before 10.3.30
mariadb:mariadbfrom 10.4.0 before 10.4.20
mariadb:mariadbfrom 10.5.0 before 10.5.11
mariadb:mariadbfrom 10.6.0 before 10.6.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11mariadb-10.51:10.5.11-1DEBIAN-CVE-2021-46666
Ubuntu20.04:LTSmariadb-10.31:10.3.30-0ubuntu0.20.04.1UBUNTU-CVE-2021-46666
Ubuntu22.04:LTSmariadb-10.61:10.6.7-2ubuntu1UBUNTU-CVE-2021-46666
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2022:1556
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.4.0+9031+9abc7af9RHSA-2022:1557
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.34-4.module+el8.5.0+14124+14ced695RHSA-2022:1556
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.9-4.module+el8.5.0+14125+d11efe18RHSA-2022:1557
Red Hatenterprise_linux:8::appstreammariadb, mariadb-pam, mariadb-test and 21 more3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1557
Red Hatenterprise_linux:8::appstreammariadb, mariadb-test, mariadb-devel and 19 more3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1556
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.4.0+9031+9abc7af9RHSA-2023:6821
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.14-1.module+el8.4.0+20291+fd32d29cRHSA-2023:6821
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreammariadb, mariadb-pam, mariadb-test and 21 more3:10.5.22-1.module+el8.4.0+20291+fd32d29cRHSA-2023:6821
Red Hatrhel_eus:8.4::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2022:4818
Red Hatrhel_eus:8.4::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.34-4.module+el8.4.0+15058+0c3d11c7RHSA-2022:4818
Red Hatrhel_eus:8.4::appstreammariadb, mariadb-test, mariadb-devel and 19 more3:10.3.32-2.module+el8.4.0+15058+0c3d11c7RHSA-2022:4818
4 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8Judy1.0.5-18.module_el8.5.0+2632+14ced695ALSA-2022:1556
AlmaLinux8Judy1.0.5-18.module_el8.5.0+2637+d11efe18ALSA-2022:1557
AlmaLinux8Judy1.0.5-18.module_el8.6.0+2761+593e5e59ALSA-2022:1556 ALSA-2022:1557
AlmaLinux8Judy1.0.5-18.module_el8.6.0+2867+72759d2fALSA-2022:1556 ALSA-2022:1557
AlmaLinux8galera25.3.34-4.module_el8.5.0+2632+14ced695ALSA-2022:1556
AlmaLinux8galera25.3.34-4.module_el8.6.0+2867+72759d2fALSA-2022:1556
AlmaLinux8galera26.4.9-4.module_el8.5.0+2637+d11efe18ALSA-2022:1557
AlmaLinux8galera26.4.9-4.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux8mariadb, mariadb-pam, mariadb-test and 11 more3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1557
AlmaLinux8mariadb, mariadb-pam, mariadb-test and 11 more3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux8mariadb, mariadb-test, mariadb-devel and 10 more3:10.3.32-2.module_el8.5.0+2632+14ced695ALSA-2022:1556
AlmaLinux8mariadb, mariadb-test, mariadb-devel and 10 more3:10.3.32-2.module_el8.6.0+2867+72759d2fALSA-2022:1556
Rocky Linux8Judy0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2022:1556 RLSA-2022:1557
Rocky Linux8galera0:25.3.34-4.module+el8.5.0+777+18007c86RLSA-2022:1556
Rocky Linux8galera0:26.4.9-4.module+el8.5.0+773+f75e97f7RLSA-2022:1557
Rocky Linux8mariadb3:10.3.32-2.module+el8.5.0+777+18007c86RLSA-2022:1556
Rocky Linux8mariadb3:10.5.13-1.module+el8.5.0+773+f75e97f7RLSA-2022:1557
Azure Linux2mariadb10.6.7-1AZL-8410

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8mariadb:10.3-8050020220204122328.c5368500Fixed 2022-04-26RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb:10.5-8050020220204122540.c5368500Fixed 2022-04-26RHSA-2022:1557
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportmariadb:10.5-8040020231006044227.522a0ee4Fixed 2023-11-08RHSA-2023:6821
Red Hat Enterprise Linux 8.4 Extended Update Supportmariadb:10.3-8040020220429075504.522a0ee4Fixed 2022-05-31RHSA-2022:4818
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicemariadb:10.5-8040020231006044227.522a0ee4Fixed 2023-11-08RHSA-2023:6821
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsmariadb:10.5-8040020231006044227.522a0ee4Fixed 2023-11-08RHSA-2023:6821
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb105-galera-0:26.4.9-3.el7Fixed 2022-03-22RHSA-2022:1007
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb105-mariadb-3:10.5.13-1.el7Fixed 2022-03-22RHSA-2022:1007
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb103-galera-0:25.3.34-4.el7Fixed 2022-03-22RHSA-2022:1010
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb103-mariadb-3:10.3.32-2.el7Fixed 2022-03-22RHSA-2022:1010
Red Hat Enterprise Linux 7mariadbOut of support scope
Red Hat Enterprise Linux 9mariadbNot affected
Red Hat OpenStack Platform 13 (Queens)mariadbOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-46666.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-027-02Festo Didactic SE MES PC2024-02-27Commercial Facilities, Communications, Critical Manufacturing, EnergyFesto Didactic SE MES PC shipped with Windows 10none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON