CVE-2026-85748
JSON

9.9critical

MariaDB: Use-after-free with a large number of SYS_REFCURSOR's

Severity
9.9critical CVSS:3.1 by GitHub_M
Exploit likelihood
1.18% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-MARIADB-2026-85748BIT-MARIADB-MIN-2026-85748BIT-MYSQL-CLIENT-2026-85748GHSA-mv8g-9f7q-hprm

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.

Affected

Product or packageVersionsReported by
MariaDB server>= 12.3.1, < 12.3.3, >= 13.0.1, < 13.0.2CVE List
mariadb mariadbfrom 12.3.1 before 12.3.3, 13.0.1NVD
mariadb (Bitnami)from 12.3.1 before 12.3.3, from 13.0.0 before 13.0.2Bitnami Vulnerability Database
mariadb-min (Bitnami)from 12.3.1 before 12.3.3, from 13.0.0 before 13.0.2Bitnami Vulnerability Database
mysql-client (Bitnami)from 12.3.1 before 12.3.3, from 13.0.0 before 13.0.2Bitnami Vulnerability Database

All scores

GitHub_M9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Bitnami Vulnerability Databasecritical rating

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-85748 changed 2026-10-16CVE Terms of Use
NVDCVE-2026-85748 changed 2026-10-20Public domain
Bitnami Vulnerability DatabaseBIT-MARIADB-2026-85748 changed 2026-10-22Apache-2.0
Bitnami Vulnerability DatabaseBIT-MARIADB-MIN-2026-85748 changed 2026-10-22Apache-2.0
Bitnami Vulnerability DatabaseBIT-MYSQL-CLIENT-2026-85748 changed 2026-10-22Apache-2.0