Medium severity · published Jan 29, 2022
CVE-2021-46658
save_window_function_values in MariaDB before 10.6.3 allows an application crash because of incorrect handling of with_window_func=true for a subquery
5.5
CVSS
0.4%
EPSS
No
On KEV
Description
save_window_function_values in MariaDB before 10.6.3 allows an application crash because of incorrect handling of with_window_func=true for a subquery.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
Mariadb · Mariadb
10.2.0 before 10.2.40; 10.3.0 before 10.3.31; 10.4.0 before 10.4.21; 10.5.0 before 10.5.12; 10.6.0 before 10.6.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-46658
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-46658
Exploit
https://jira.mariadb.org/browse/MDEV-25630
Patch
https://mariadb.com/kb/en/security/
Third Party Advisory
https://security.netapp.com/advisory/ntap-20220221-0002/
More from Mariadb
9.9
CVE-2026-85748
MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
9.9
CVE-2026-85746
MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
9.9
CVE-2026-92262
MariaDB: Numerous issues caused by historical #mysql50# tablename encoding bypass.
9.9
CVE-2026-32710
Heap-based Buffer Overflow in MariaDB
9.8
CVE-2026-44170
MariaDB: Argument injection in CONNECT REST Xcurl on Windows via unsanitized URL
