CVE-2022-24052
mariadb: CONNECT storage engine heap-based buffer overflow
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 18, 2022
Updated · August 4, 2026
Description
A flaw was found in MariaDB. Lack of input validation leads to a heap buffer overflow. This flaw allows an authenticated, local attacker with at least a low level of privileges to submit a crafted SQL query to MariaDB and escalate their privileges to the level of the MariaDB service user, running arbitrary code.
Statement
This flaw has been rated as Moderate impact because although privilege escalation is possible, the attack requires the attacker to be authenticated and have local access to MariaDB, and is constrained to the privileges of the service account.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-122 · Heap-based Buffer Overflow