{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85748","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-09-04T14:50:16.720Z","datePublished":"2026-10-16T16:28:55.829Z","dateUpdated":"2026-10-16T16:54:40.841Z"},"containers":{"cna":{"title":"MariaDB: Use-after-free with a large number of SYS_REFCURSOR's","problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","description":"CWE-416: Use After Free","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm"},{"name":"https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1"},{"name":"https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3"},{"name":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","tags":["x_refsource_MISC"],"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2"},{"name":"https://jira.mariadb.org/browse/MDEV-40396","tags":["x_refsource_MISC"],"url":"https://jira.mariadb.org/browse/MDEV-40396"},{"name":"https://jira.mariadb.org/browse/MDEV-40639","tags":["x_refsource_MISC"],"url":"https://jira.mariadb.org/browse/MDEV-40639"}],"affected":[{"vendor":"MariaDB","product":"server","versions":[{"version":">= 12.3.1, < 12.3.3","status":"affected"},{"version":">= 13.0.1, < 13.0.2","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-10-16T16:28:55.829Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-mv8g-9f7q-hprm","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-16T16:54:30.361781Z","id":"CVE-2026-85748","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-10-16T16:54:40.841Z"}}]}}