CVE-2026-85748 in the critical feed json
MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
published 2mo ago modified 18d 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
Is CVE-2026-85748 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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 morenot 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
- 24d ago
Exploit prediction
1.18% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-09).
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
-
- CWE-416 Use After Free
- Technology feeds
References
-
github.com
/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1
patch
-
github.com
/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed
patch
-
github.com
/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm
vendor-advisory, advisory
-
github.com
/MariaDB/server/releases/tag/mariadb-12.3.3
release-notes, article
-
github.com
/MariaDB/server/releases/tag/mariadb-13.0.2
release-notes, article
-
jira.mariadb.org
/browse/MDEV-40396
issue-tracking, report
-
jira.mariadb.org
/browse/MDEV-40639
issue-tracking, report
-
nvd.nist.gov
/vuln/detail/CVE-2026-85748
web
Sources
- CVE List CVE-2026-85748
- NVD CVE-2026-85748
- OSV BIT-mariadb-2026-85748
- OSV BIT-mariadb-min-2026-85748
- OSV BIT-mysql-client-2026-85748
- Maintainer advisory GHSA-mv8g-9f7q-hprm
Fencer Intel 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.