Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-24050
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:17 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-24050
Complete source record
{
"id": "c33532cdf7a7d219d6db9db576828b58ea21aaa8b4297e946b9907daab7115db",
"url": "https://osv.dev/vulnerability/CVE-2022-24050",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-24050",
"summary": "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.",
"evidence": "osv:CVE-2022-24050",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-24050",
"aliases": [
"BIT-mariadb-2022-24050",
"BIT-mariadb-min-2022-24050",
"BIT-mysql-client-2022-24050",
"CVE-2022-24050"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mariadb/server",
"type": "GIT",
"events": [
{
"introduced": "9664240c948a92c22ccda0e1f5a420eb776ddcb1"
},
{
"fixed": "e2b50213cf12623da31c8b49be4d40772876223c"
},
{
"introduced": "20ae591abd0bfe1bfaee546989ee163f4ef832b1"
},
{
"fixed": "41a163ac5ccf4ac5394edc84e40b3f47acea6b08"
},
{
"introduced": "c761b43451d54eeeecdf3c102906fcce88d4e9d9"
},
{
"fixed": "c04a203a10e282e1f33fd04d8a1b7ff0b076bce5"
},
{
"introduced": "7c7f9bef28aa566557da31402142f6dd8298ddd2"
},
{
"fixed": "ad3ac55641f18172807b13423353f01377f76e6e"
},
{
"introduced": "1a647b700f6b72dc97211510a5d0c647d5d3d911"
},
{
"fixed": "4ffffd98a5ac89b78954aaa2197b40850ade4191"
},
{
"introduced": "0"
},
{
"fixed": "cb1316b8d213aded32aa2c1a98271eede179146d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.2.0"
},
{
"fixed": "10.2.42"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.3.0"
},
{
"fixed": "10.3.33"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.4.0"
},
{
"fixed": "10.4.23"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.5.0"
},
{
"fixed": "10.5.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.6.0"
},
{
"fixed": "10.6.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.7.0"
},
{
"fixed": "10.7.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"mariadb-10.6.5",
"mariadb-10.4.20",
"mariadb-10.7.1",
"mariadb-10.5.13",
"mariadb-10.4.22",
"mariadb-10.5.12",
"mariadb-10.4.21",
"mariadb-10.6.4",
"mariadb-10.3.31",
"mariadb-10.2.40",
"mariadb-10.6.3",
"mariadb-10.5.11",
"mariadb-10.3.30",
"mariadb-10.6.2",
"mariadb-10.2.39",
"mariadb-10.6.1",
"mariadb-10.6.0",
"mariadb-10.3.26",
"mariadb-10.5.4",
"mariadb-10.2.27",
"mariadb-10.3.21",
"mariadb-10.2.13",
"mariadb-10.5.2",
"mariadb-10.3.16",
"mariadb-10.2.31",
"mariadb-10.3.17",
"mariadb-10.3.10",
"mariadb-10.4.11",
"mariadb-10.2.30",
"mariadb-10.5.0",
"mariadb-10.4.10",
"mariadb-10.3.20",
"mariadb-10.2.29",
"mariadb-10.4.9",
"mariadb-10.3.19",
"mariadb-10.2.28",
"mariadb-10.3.18",
"mariadb-10.4.7",
"mariadb-10.2.26",
"mariadb-10.2.25",
"mariadb-10.2.24",
"mariadb-10.4.5",
"mariadb-10.4.4",
"mariadb-10.2.23",
"mariadb-10.4.3",
"mariadb-10.2.22",
"mariadb-10.3.12",
"mariadb-10.2.21",
"mariadb-10.2.20",
"mariadb-10.2.19",
"mariadb-10.2.18",
"mariadb-10.2.16",
"mariadb-10.3.7",
"mariadb-10.2.15",
"mariadb-10.3.6",
"mariadb-10.2.14",
"mariadb-10.3.5",
"mariadb-10.3.4",
"mariadb-10.2.12",
"mariadb-10.2.11",
"mariadb-10.2.10",
"mariadb-10.3.2",
"mariadb-10.3.1",
"mariadb-10.2.5",
"mariadb-10.3.0",
"mariadb-10.2.2",
"mariadb-10.2.1",
"mariadb-10.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24050.json"
}
}
],
"modified": "2026-10-28T02:30:23.527532690Z",
"provider": "osv",
"references": [
"https://mariadb.com/kb/en/security/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24050.json",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/",
"https://nvd.nist.gov/vuln/detail/CVE-2022-24050",
"https://security.netapp.com/advisory/ntap-20220318-0004/",
"https://www.zerodayinitiative.com/advisories/ZDI-22-364/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-416"
],
"cna_assigner": "zdi",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "10.6.5"
},
{
"last_affected": "10.6.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24050.json"
}
},
"related_cves": [
{
"value": "CVE-2022-24050",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490161,
"published_at": "2022-02-18T19:51:44+00:00"
}