Vulnerability 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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mariadb | Mariadb | >= 12.3.1, < 12.3.3 |
Related Weaknesses (CWE)
References
- https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592dPatch
- https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ePatch
- https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3Release Notes
- https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2Release Notes
- https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprmVendor Advisory
- https://jira.mariadb.org/browse/MDEV-40396Issue Tracking
- https://jira.mariadb.org/browse/MDEV-40639Issue Tracking
FAQ
What is CVE-2026-85748?
CVE-2026-85748 is a vulnerability with a CVSS score of 9.9 (CRITICAL). 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 ro...
How severe is CVE-2026-85748?
CVE-2026-85748 has been rated CRITICAL with a CVSS base score of 9.9/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-85748?
Check the references section above for vendor advisories and patch information. Affected products include: Mariadb Mariadb.