Skip to content
Fencer Vulns
critical 9.9

CVE-2026-85748 in the critical feed json

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

published 2026-09-07 2 mo ago modified 2026-10-22 17 d ago also BIT-mariadb-2026-85748 , BIT-mariadb-min-2026-85748 , BIT-mysql-client-2026-85748 , EUVD-2026-102941 , GHSA-mv8g-9f7q-hprm

cvss
9.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 67%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami mariadb 12.3.3, 13.0.2
  • bitnami mariadb-min 12.3.3, 13.0.2
  • bitnami mysql-client 12.3.3, 13.0.2
  • mariadb mariadb 12.3.3, 13.0.2
  • mariadb openSUSE Tumbleweed 12.3.2-3.1

opensuse advisories openSUSE-SU-2026:12245-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-85748 updated cvss 8.5

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

  • Red Hat Enterprise Linux 7 mariadb, mariadb-libs, mariadb-test, mariadb-bench, mariadb-server, mariadb-embedded Red Hat Enterprise Linux 8 Judy, galera, mariadb, mariadb-pam, mariadb-test, mariadb-backup, +8 more Red Hat Enterprise Linux 9 mariadb, mariadb-pam, mariadb-test, mariadb-backup, mariadb-common, mariadb-errmsg, +6 more Red Hat Enterprise Linux 10 mariadb11.8 11.8.8-1.el10_2, mariadb10.11 10.11.18-1.el10_2 Red Hat Hardened Images hi/mariadb, mariadb11.8 11.8.8-1.el10_2, mariadb10.11 10.11.18-1.el10_2 Red Hat OpenStack Platform 13 (Queens) mariadb, mariadb-libs, mariadb-test, mariadb-common, mariadb-config, mariadb-errmsg, +3 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
23 d ago

Exploit prediction

1.18% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami mariadb
>=12.3.1, <12.3.3
>=13.0.0, <13.0.2
12.3.3
13.0.2
bitnami mariadb-min
>=12.3.1, <12.3.3
>=13.0.0, <13.0.2
12.3.3
13.0.2
bitnami mysql-client
>=12.3.1, <12.3.3
>=13.0.0, <13.0.2
12.3.3
13.0.2

Affected products

  • MariaDB server

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of MariaDB/server published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.