# CVE-2022-24050: MariaDB CONNECT Storage Engine Use-After-Free Privilege Escalation Vulnerability.

- Severity: High 7.0 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2022-02-18T19:51:44.000Z
- Modified: 2026-09-08T08:48:23.886Z
- Also known as: BIT-MARIADB-2022-24050, BIT-MARIADB-MIN-2022-24050, BIT-MYSQL-CLIENT-2022-24050
- Weaknesses: CWE-416
- Assigned by: zdi

## Description

MariaDB CONNECT Storage Engine Use-After-Free 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 validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16207.

(As written by CVE List.)

## Affected

- MariaDB MariaDB: 10.6.5; from 10.2.0 before 10.2.42; from 10.3.0 before 10.3.33; from 10.4.0 before 10.4.23; from 10.5.0 before 10.5.14; from 10.6.0 before 10.6.6; from 10.7.0 before 10.7.2; 10.8.0
- fedoraproject fedora: 34; 35; 36
- mariadb (Bitnami): from 10.2.0 before 10.2.42; from 10.3.0 before 10.3.33; from 10.4.0 before 10.4.23; from 10.5.0 before 10.5.14; from 10.6.0 before 10.6.6; from 10.7.0 before 10.7.2; from 10.8.0 before 10.8.1
- mariadb-min (Bitnami): from 10.2.0 before 10.2.42; from 10.3.0 before 10.3.33; from 10.4.0 before 10.4.23; from 10.5.0 before 10.5.14; from 10.6.0 before 10.6.6; from 10.7.0 before 10.7.2; from 10.8.0 up to 10.8.0
- mysql-client (Bitnami): from 10.2.0 before 10.2.42; from 10.3.0 before 10.3.33; from 10.4.0 before 10.4.23; from 10.5.0 before 10.5.14; from 10.6.0 before 10.6.6; from 10.7.0 before 10.7.2; from 10.8.0 before 10.8.1

## Every score

- zdi: CVSS:3.0 7.0 High `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://mariadb.com/kb/en/security/> (advisory, patch, vendor-advisory)
- <https://www.zerodayinitiative.com/advisories/ZDI-22-364/> (advisory, third-party-advisory, vdb-entry)
- <https://security.netapp.com/advisory/ntap-20220318-0004/> (advisory, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24050> (web)

## Sources

- CVE List: [CVE-2022-24050](https://www.cve.org/CVERecord?id=CVE-2022-24050), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-24050](https://nvd.nist.gov/vuln/detail/CVE-2022-24050), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MARIADB-2022-24050](https://osv.dev/vulnerability/BIT-MARIADB-2022-24050), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-MARIADB-MIN-2022-24050](https://osv.dev/vulnerability/BIT-MARIADB-MIN-2022-24050), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-MYSQL-CLIENT-2022-24050](https://osv.dev/vulnerability/BIT-MYSQL-CLIENT-2022-24050), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-24050 · Whole record: https://cve.day/CVE-2022-24050.json · Rebuilt by cve.day 2026-11-25T22:58:09.754Z
