Live threats

All CVEs / Mariadb

CVE-2022-24052Mariadb

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.5%
probability of exploitation in 30 days · percentile 36
Auth required
Yes
Published
Feb 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

MariaDB CONNECT Storage Engine Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of MariaDB. Authentication is required to exploit this vulnerability. The specific flaw exists within the processing of SQL queries. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16190.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mariadb.

Affected products (CPE)

VendorProductVersions
mariadbmariadb≥ 10.2.0 < 10.2.42
mariadbmariadb≥ 10.3.0 < 10.3.33
mariadbmariadb≥ 10.4.0 < 10.4.23
mariadbmariadb≥ 10.5.0 < 10.5.14
mariadbmariadb≥ 10.6.0 < 10.6.6
mariadbmariadb≥ 10.7.0 < 10.7.2
mariadbmariadb10.8.0
fedoraprojectfedora34
fedoraprojectfedora35
fedoraprojectfedora36

Official sources

References

Links published by the sources. Open them with care.