9.9

CVE-2026-85748

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Mariadb ≫ Mariadb Version >= 12.3.1 < 12.3.3
Mariadb ≫ Mariadb Version 13.0.1
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.55% 0.446
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
security-advisories@github.com 9.9 3.1 6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3
Release Notes
https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2
Release Notes
https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm
Vendor Advisory
https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1
Patch
https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed
Patch
https://jira.mariadb.org/browse/MDEV-40396
Issue Tracking
https://jira.mariadb.org/browse/MDEV-40639
Issue Tracking