Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-85748

mariadb: mariadb: use-after-free in SYS_REFCURSOR during FETCH operations

Overview

Published
16 Oct 2026
Modified
20 Oct 2026
Critical CVE
3 Registry packages
38 OS packages
2 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

9.9 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Weakness: CWE-416

Affected packages · 3

Packages affected by CVE-2026-85748
EcosystemPackageVulnerableFixed in
Bitnami mariadb >=12.3.1, <12.3.3>=13.0.0, <13.0.2 12.3.313.0.2
Bitnami mariadb-min >=12.3.1, <12.3.3>=13.0.0, <13.0.2 12.3.313.0.2
Bitnami mysql-client >=12.3.1, <12.3.3>=13.0.0, <13.0.2 12.3.313.0.2

Open a package to see all its vulnerabilities.

Operating systems · 2 fixes

amazon linux 1 release · 1 package

fixed 1
mariadb123
amazon linux fixes for CVE-2026-85748
ReleasePackageFixed in
2023 mariadb123 +27 3:12.3.3-2.amzn2023.0.1

openSUSE 1 release · 1 package

fixed 1
libmariadbd-devel
openSUSE fixes for CVE-2026-85748
ReleasePackageFixed inAdvisory
Tumbleweed libmariadbd-devel +9 12.3.2-3.1 openSUSE-SU-2026:12245-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.