Use-After-Free Vulnerability in MariaDB Server Impacting Multiple Versions
CVE-2026-85748

9.9CRITICAL

Key Information:

Vendor

Mariadb

Status
Vendor
CVE Published:
16 October 2026

What is CVE-2026-85748?

The MariaDB server, which is a community-developed fork of MySQL, has a vulnerability that arises from improper handling of SYS_REFCURSORs. Specifically, during cursor-array reallocation, stale references may remain within routine contexts. This flaw allows a low-privileged attacker to create a significant number of SYS_REFCURSORs and subsequently fetch one, potentially triggering a use-after-free condition. When exploited in conjunction with another vulnerability, this can lead to remote code execution, emphasizing the need for timely updates to prevent exploitation. The vulnerability has been addressed in MariaDB versions 12.3.3 and 13.0.2.

Affected Version(s)

server >= 12.3.1, < 12.3.3 < 12.3.1, 12.3.3

server >= 13.0.1, < 13.0.2 < 13.0.1, 13.0.2

References

CVSS V3.1

Score:
9.9
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.