CVE-2021-46664

NameCVE-2021-46664
DescriptionMariaDB through 10.5.9 allows an application crash in sub_select_postjoin_aggr for a NULL value of aggr.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mariadb-10.5 (PTS)bullseye1:10.5.23-0+deb11u1fixed
bullseye (security)1:10.5.26-0+deb11u2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mariadb-10.3sourcebuster1:10.3.34-0+deb10u1
mariadb-10.3source(unstable)(unfixed)
mariadb-10.5sourcebullseye1:10.5.15-0+deb11u1
mariadb-10.5source(unstable)(unfixed)
mariadb-10.6source(unstable)1:10.6.7-1

Notes

MariaDB bug: https://jira.mariadb.org/browse/MDEV-25761
Commit MariaDB: https://github.com/MariaDB/server/commit/3a52569499e2f0c4d1f25db1e81617a9d9755400 (mariadb-10.2.43)
Same fix than CVE-2021-46665, MDEV-25636 and MDEV-25761 are linked upstream, tests and commit identical
Fixed in MariaDB: 10.7.3, 10.6.7, 10.5.15, 10.4.24, 10.3.34, 10.2.43

Search for package or bug name: Reporting problems