CVE-2022-24052Mariadb
High 7.8
Follow: this CVE · Mariadb · Mariadb We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Mariadb.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mariadb | mariadb | ≥ 10.2.0 < 10.2.42 |
| mariadb | mariadb | ≥ 10.3.0 < 10.3.33 |
| mariadb | mariadb | ≥ 10.4.0 < 10.4.23 |
| mariadb | mariadb | ≥ 10.5.0 < 10.5.14 |
| mariadb | mariadb | ≥ 10.6.0 < 10.6.6 |
| mariadb | mariadb | ≥ 10.7.0 < 10.7.2 |
| mariadb | mariadb | 10.8.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- mariadb.com Patch Vendor Advisory
- security.netapp.com Third Party Advisory
- www.zerodayinitiative.com Third Party Advisory VDB Entry