{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-85748","id":"CVE-2026-85748","title":"MariaDB: Use-after-free with a large number of SYS_REFCURSOR's","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 vuln","descriptionLong":"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-16T16:28:55.829Z","updated":"2026-10-28T11:00:45.744372467Z","reserved":"2026-09-04T14:50:16.720Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["MariaDB server"],"affectedProducts":[{"vendor":"MariaDB","product":"server","defaultStatus":null,"versions":[{"version":">= 12.3.1, < 12.3.3","status":"affected"},{"version":">= 13.0.1, < 13.0.2","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":["BIT-mariadb-2026-85748","BIT-mariadb-min-2026-85748","BIT-mysql-client-2026-85748","GHSA-mv8g-9f7q-hprm"],"references":[{"url":"https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory"]},{"url":"https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://jira.mariadb.org/browse/MDEV-40396","tags":["x_refsource_MISC","Issue Tracking","web"]},{"url":"https://jira.mariadb.org/browse/MDEV-40639","tags":["x_refsource_MISC","Issue Tracking","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85748.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85748","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01179,"epssPercentile":0.68347,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-85748","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85748","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-85748","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-85748","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["mysql"],"critical":["CVSS 9.9 in a widely used technology"],"attention":null}