MariaDB server is a community developed fork of MySQL server. From 12.3.1 until 12.3.3 and 13.0.2, SYS_REFCURSOR handling is affected because cursor-array reallocation can leave stale references in routine contexts. A low-privileged attacker can open a large number of SYS_REFCURSORs and then fetch one to trigger a use-after-free that can enable remote code execution when combined with another vulnerability. This issue is fixed in versions 12.3.3 and 13.0.2.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-416"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85748.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85748.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "339712868486696881928202886484344029960",
"length": 1715
},
"id": "CVE-2026-85748-1cd3e8db",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb/server/commit/83e909fc2a0dbc394b4b683fb3fa2d7dcf26cc5e",
"target": {
"file": "sql/log_event_server.cc",
"function": "Rows_log_event_fragmenter::fragment"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"171922335289695664967320282302097012127",
"314879264303882873216162120692739820747",
"296657960952465744719770094395708912555",
"28908880241426286725700820784852115102"
],
"threshold": 0.9
},
"id": "CVE-2026-85748-e432b228",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb/server/commit/83e909fc2a0dbc394b4b683fb3fa2d7dcf26cc5e",
"target": {
"file": "sql/log_event_server.cc"
}
}
]
"2026-10-17T07:06:54Z"