cve.bz

CVE-2021-46669 Use After Free

7.5 highExploit referenceEPSS 2.4%Fix available

High (7.5). EPSS 2.4% estimated probability of exploitation activity in the next 30 days.

On this page
MariaDB through 10.5.9 allows attackers to trigger a convert_const_to_int use-after-free when the BIGINT data type is used.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
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-46669 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-46669?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-46669?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-46669 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.44
mariadb:mariadbfrom 10.3.0 before 10.3.35
mariadb:mariadbfrom 10.4.0 before 10.4.25
mariadb:mariadbfrom 10.5.0 before 10.5.16
mariadb:mariadbfrom 10.6.0 before 10.6.8
mariadb:mariadbfrom 10.7.0 before 10.7.4
fedoraproject:fedora35
fedoraproject:fedora36
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10mariadb-10.31:10.3.36-0+deb10u1DLA-3114-1
Debian11mariadb-10.51:10.5.18-0+deb11u1DEBIAN-CVE-2021-46669
Ubuntu20.04:LTSmariadb-10.31:10.3.37-0ubuntu0.20.04.1UBUNTU-CVE-2021-46669 USN-5739-1
Ubuntu22.04:LTSmariadb-10.61:10.6.11-0ubuntu0.22.04.1UBUNTU-CVE-2021-46669 USN-5739-1
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2022:6443
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.4.0+9031+9abc7af9RHSA-2022:5826
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.35-1.module+el8.6.0+15949+4ba4ec26RHSA-2022:6443
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.11-1.module+el8.6.0+15639+405b7427RHSA-2022:5826
Red Hatenterprise_linux:8::appstreammariadb, mariadb-pam, mariadb-test and 21 more3:10.5.16-2.module+el8.6.0+15639+405b7427RHSA-2022:5826
Red Hatenterprise_linux:8::appstreammariadb, mariadb-test, mariadb-devel and 19 more3:10.3.35-1.module+el8.6.0+15949+4ba4ec26RHSA-2022:6443
Red Hatenterprise_linux:9::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.11-1.el9_0RHSA-2022:5948
Red Hatenterprise_linux:9::appstreammariadb, mariadb-pam, mariadb-backup and 18 more3:10.5.16-2.el9_0RHSA-2022:5948
Red Hatenterprise_linux:9::appstreammysql-selinux0:1.0.5-1.el9_0RHSA-2022:5948
Red Hatenterprise_linux:9::crbmariadb-test, mariadb-devel, mariadb-debuginfo and 10 more3:10.5.16-2.el9_0RHSA-2022:5948
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
3 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moremariadb10.2.44-150000.3.54.1SUSE-SU-2022:2107-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 moremariadb10.4.25-150200.3.28.1SUSE-SU-2022:2189-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1mariadb10410.4.30-150100.3.5.10SUSE-RU-2023:3956-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1python-mysqlclient1.4.6-150100.3.3.7SUSE-RU-2023:3956-1
SUSELinux Enterprise Module for Package Hub 15 SP3, Linux Enterprise Module for Server Applications 15 SP3mariadb10.5.16-150300.3.18.1SUSE-SU-2022:2003-1
SUSELinux Enterprise Module for Server Applications 15 SP4mariadb10.6.8-150400.3.7.1SUSE-SU-2022:2561-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moremariadb10.2.44-3.50.1SUSE-SU-2022:2160-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5lz41.8.0-3.5.2SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5mariadb-connector-c3.1.22-2.35.1SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5mariadb10410.4.30-8.5.46SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5python-mysqlclient1.3.14-8.9.2SUSE-RU-2023:4991-1
openSUSELeap 15.3mariadb10.5.16-150300.3.18.1SUSE-SU-2022:2003-1
openSUSELeap 15.4mariadb10.2.44-150000.3.54.1SUSE-SU-2022:2107-1
openSUSELeap 15.4mariadb10.6.8-150400.3.7.1SUSE-SU-2022:2561-1
AlmaLinux8Judy1.0.5-18.module_el8.6.0+3072+3c630e87ALSA-2022:5826 ALSA-2022:6443
AlmaLinux8Judy1.0.5-18.module_el8.6.0+3139+3c630e87ALSA-2022:6443
AlmaLinux8galera25.3.35-1.module_el8.6.0+3265+230ed96bALSA-2022:6443
AlmaLinux8galera26.4.11-1.module_el8.6.0+3072+3c630e87ALSA-2022:5826
AlmaLinux8mariadb, mariadb-pam, mariadb-test and 11 more3:10.5.16-2.module_el8.6.0+3072+3c630e87ALSA-2022:5826
AlmaLinux8mariadb, mariadb-test, mariadb-devel and 10 more3:10.3.35-1.module_el8.6.0+3265+230ed96bALSA-2022:6443
AlmaLinux9mariadb, mariadb-pam, mariadb-test and 11 more3:10.5.16-2.el9_0ALSA-2022:5948
Rocky Linux8Judy0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2022:5826 RLSA-2022:6443
Rocky Linux8galera0:25.3.35-1.module+el8.6.0+1005+cdf19c22RLSA-2022:6443
Rocky Linux8galera0:26.4.11-1.module+el8.6.0+995+5ac2a483RLSA-2022:5826
Rocky Linux8mariadb3:10.3.35-1.module+el8.6.0+1005+cdf19c22RLSA-2022:6443
Rocky Linux8mariadb3:10.5.16-2.module+el8.6.0+995+5ac2a483RLSA-2022:5826
Rocky Linux9galera0:26.4.11-1.el9_0RLSA-2022:5948
Rocky Linux9mariadb3:10.5.16-2.el9_0RLSA-2022:5948
Rocky Linux9mysql-selinux0:1.0.5-1.el9_0RLSA-2022:5948
Azure Linux2mariadb10.6.7-1AZL-8413

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; SUSE security data, 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 · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is not available, please update the affected package.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8mariadb:10.5-8060020220614163302.ad008a3aFixed 2022-08-02RHSA-2022:5826
Red Hat Enterprise Linux 8mariadb:10.3-8060020220715055054.ad008a3aFixed 2022-09-13RHSA-2022:6443
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 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 Enterprise Linux 9mariadb-3:10.5.16-2.el9_0Fixed 2022-08-09RHSA-2022:5948
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb105-mariadb-3:10.5.16-2.el7Fixed 2022-07-28RHSA-2022:5759
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb103-mariadb-3:10.3.35-1.el7Fixed 2022-09-01RHSA-2022:6306
Red Hat Enterprise Linux 7mariadbOut of support scope
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-46669.

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