Read the docs
TI-2021-21436 Aliases CVE-2021-46664GHSA-7x2j-p87r-93gf

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

Priority LOW 25CWE-476Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 8 fixed, 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-476.

Summary

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

Why it matters now

EPSS 0.004 34th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 6 advisoriesRed Hat: 8 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*10.2.0 to before 10.2.43; 10.3.0 to before 10.3.34; 10.4.0 to before 10.4.24; 10.5.0 to before 10.5.15; 10.6.0 to before 10.6.7; 10.7.0 to before 10.7.3VulnerableMariaDB
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
  • cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* Versions 10.2.0 to before 10.2.43; 10.3.0 to before 10.3.34; 10.4.0 to before 10.4.24; 10.5.0 to before 10.5.15; 10.6.0 to before 10.6.7; 10.7.0 to before 10.7.3 Vulnerable ·MariaDB
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject

Remediation

Red Hat 6 advisories

  • RHSA-2023:6821 Released 2023-11-08 · Red Hat rating Important
    mariadb:10.5 security update
    • Red Hat Enterprise Linux AppStream AUS (v.8.4) Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.src::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.x86_64::mariadb:10.5, galera-26.4.14-1.module+el8.4.0+20291+fd32d29c.src::mariadb:10.5 +16
    • Red Hat Enterprise Linux AppStream E4S (v.8.4) Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.aarch64::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.ppc64le::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.s390x::mariadb:10.5 +47
    • Red Hat Enterprise Linux AppStream TUS (v.8.4) Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.src::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.x86_64::mariadb:10.5, galera-26.4.14-1.module+el8.4.0+20291+fd32d29c.src::mariadb:10.5 +16
  • RHSA-2022:6443 Released 2022-09-13 · Red Hat rating Moderate
    mariadb:10.3 security and bug fix update
    • Red Hat Enterprise Linux AppStream (v. 8) Judy-1.0.5-18.module+el8+2765+cfa4f87b.aarch64::mariadb:10.3, Judy-1.0.5-18.module+el8+2765+cfa4f87b.ppc64le::mariadb:10.3, Judy-1.0.5-18.module+el8+2765+cfa4f87b.s390x::mariadb:10.3 +47
  • RHSA-2022:6306 Released 2022-09-01 · Red Hat rating Moderate
    rh-mariadb103-galera and rh-mariadb103-mariadb security and bug fix update
    • Red Hat Software Collections for RHEL Workstation(v. 7) rh-mariadb103-mariadb-3:10.3.35-1.el7, rh-mariadb103-mariadb-backup-3:10.3.35-1.el7, rh-mariadb103-mariadb-backup-syspaths-3:10.3.35-1.el7 +16
    • Red Hat Software Collections for RHEL(v. 7) rh-mariadb103-mariadb-3:10.3.35-1.el7, rh-mariadb103-mariadb-backup-3:10.3.35-1.el7, rh-mariadb103-mariadb-backup-syspaths-3:10.3.35-1.el7 +16
Show 3 more Red Hat advisories
  • RHSA-2022:5948 Released 2022-08-09 · Red Hat rating Moderate
    galera, mariadb, and mysql-selinux security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 9) mariadb-devel-3:10.5.16-2.el9_0, mariadb-embedded-devel-3:10.5.16-2.el9_0, mariadb-test-3:10.5.16-2.el9_0
    • Red Hat Enterprise Linux AppStream (v. 9) galera-26.4.11-1.el9_0, mariadb-3:10.5.16-2.el9_0, mariadb-backup-3:10.5.16-2.el9_0 +10
  • RHSA-2022:5826 Released 2022-08-02 · Red Hat rating Moderate
    mariadb:10.5 security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 8) Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.aarch64::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.ppc64le::mariadb:10.5, Judy-1.0.5-18.module+el8.4.0+9031+9abc7af9.s390x::mariadb:10.5 +47
  • RHSA-2022:5759 Released 2022-07-28 · Red Hat rating Moderate
    rh-mariadb105-galera and rh-mariadb105-mariadb security and bugfix update
    • Red Hat Software Collections for RHEL Workstation(v. 7) rh-mariadb105-mariadb-3:10.5.16-2.el7, rh-mariadb105-mariadb-backup-3:10.5.16-2.el7, rh-mariadb105-mariadb-backup-syspaths-3:10.5.16-2.el7 +18
    • Red Hat Software Collections for RHEL(v. 7) rh-mariadb105-mariadb-3:10.5.16-2.el7, rh-mariadb105-mariadb-backup-3:10.5.16-2.el7, rh-mariadb105-mariadb-backup-syspaths-3:10.5.16-2.el7 +18

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix planned: Out of support scope
Red Hat CodeReady Linux Builder (v. 9)Fixed RHSA-2022:5948
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2022:5826, RHSA-2022:6443
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2022:5948
Red Hat Enterprise Linux AppStream AUS (v.8.4)Fixed RHSA-2023:6821
Red Hat Enterprise Linux AppStream E4S (v.8.4)Fixed RHSA-2023:6821
Red Hat Enterprise Linux AppStream TUS (v.8.4)Fixed RHSA-2023:6821
Red Hat Software Collections for RHEL Workstation(v. 7)Fixed RHSA-2022:5759, RHSA-2022:6306
Red Hat Software Collections for RHEL(v. 7)Fixed RHSA-2022:5759, RHSA-2022:6306
Not affected: 3 products
  • Red Hat Enterprise Linux AppStream (v. 9)
  • Red Hat Software Collections for RHEL Workstation(v. 7)
  • Red Hat Software Collections for RHEL(v. 7)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-46664
  2. 2026-10-03 Alias added: GHSA-7x2j-p87r-93gf

References

Sources