9.9

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

Analyzed
AliasesUBUNTU-CVE-2026-85748
Published 16-10-2026Last modified 16-10-2026

Vulnerability summary

CVE-2026-85748 is a critical (CVSS 9.9) Use After Free vulnerability in mariadb. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 68.7% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.9/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 16-10-2026
    PublishedVulnerability first disclosed.
  2. 16-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.18%

Chance of exploitation in the next 30 days

Percentile

69%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.18% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu5 products
  • mariadbAll versions (No fix recorded)
  • mariadb-10.0All versions (No fix recorded)
  • mariadb-10.1All versions (No fix recorded)
  • mariadb-10.3All versions (No fix recorded)
  • mariadb-10.6All versions (No fix recorded)
Mariadb2 products
  • mariadb≥ 12.3.1, < 12.3.3 | 13.0.1
  • server≥ 12.3.1, < 12.3.3 | ≥ 13.0.1, < 13.0.2

2 vendors · 7 products

References

9 links