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.
History

Fri, 23 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Mariadb server
Vendors & Products Mariadb server

Tue, 20 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Mariadb
Mariadb mariadb
CPEs cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:13.0.1:*:*:*:*:*:*:*
Vendors & Products Mariadb
Mariadb mariadb

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Fri, 16 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
Description 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.
Title MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-10-16T16:28:55.829Z

Updated: 2026-10-16T16:54:40.841Z

Reserved: 2026-09-04T14:50:16.720Z

Link: CVE-2026-85748

cve-icon Vulnrichment

Updated: 2026-10-16T16:54:35.522Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-16T17:17:51.303

Modified: 2026-10-20T15:32:54.420

Link: CVE-2026-85748

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-15T00:00:00Z

Links: CVE-2026-85748 - Bugzilla