CVE-2026-85748 MariaDB · server
AI summary
In MariaDB server from 12.3.1, SYS_REFCURSOR cursor-array reallocation can leave stale references, leading to a use-after-free. A low-privileged attacker can trigger it by opening many cursors, potentially enabling remote code execution when chained with another vulnerability. Critical (CVSS 9.9); fixed in 12.3.3 and 13.0.2.
Official 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.
- Published
- 2026-10-16 17:17 UTC
- Modified
- 2026-10-20 15:32 UTC
- CVSS
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - EPSS
- 1.31% (percentile 71)
- ENISA EUVD
- EUVD-2026-102941
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
- CWE
- CWE-416
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- low
- User interaction
- none
- Scope
- changed
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1 - github.com
https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed - github.com
https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm - github.com
https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3 - github.com
https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2 - jira.mariadb.org
https://jira.mariadb.org/browse/MDEV-40396 - jira.mariadb.org
https://jira.mariadb.org/browse/MDEV-40639