CVE-2026-85748: mariadb server Use After Free
Vulnerability summary
CVE-2026-85748 is a critical (CVSS 9.9) Use After Free vulnerability in mariadb server. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 44.6% of scored vulnerabilities.
Timeline
- 16-10-2026PublishedVulnerability first disclosed.
- 16-10-2026Last 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
2 scores · 2 sources · 1 version- NVDNIST9.9CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.55%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Mariadb1 product
- server≥ 12.3.1, < 12.3.3 | ≥ 13.0.1, < 13.0.2
1 vendor · 1 product
References
7 links- github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprmX Refsource CONFIRM
- github.com/MariaDB/server/releases/tag/mariadb-12.3.3X Refsource MISC
- github.com/MariaDB/server/releases/tag/mariadb-13.0.2X Refsource MISC
- jira.mariadb.org/browse/MDEV-40396X Refsource MISC
- jira.mariadb.org/browse/MDEV-40639X Refsource MISC