{"id":"CVE-2026-85748","sourceIdentifier":"security-advisories@github.com","published":"2026-10-16T17:17:51.303","lastModified":"2026-10-20T15:32:54.420","vulnStatus":"Analyzed","cveTags":[],"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"MariaDB","product":"server","versions":[{"version":">= 12.3.1, < 12.3.3","status":"affected"},{"version":">= 13.0.1, < 13.0.2","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":9.9,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.1,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-16T16:54:30.361781Z","id":"CVE-2026-85748","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Primary","description":[{"lang":"en","value":"CWE-416"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*","versionStartIncluding":"12.3.1","versionEndExcluding":"12.3.3","matchCriteriaId":"E6988F1C-2D11-431B-BBE4-3AA8483627C8"},{"vulnerable":true,"criteria":"cpe:2.3:a:mariadb:mariadb:13.0.1:*:*:*:*:*:*:*","matchCriteriaId":"E46FBE57-06D5-489E-9ECE-333F5F9AFD06"}]}]}],"references":[{"url":"https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm","source":"security-advisories@github.com","tags":["Vendor Advisory"]},{"url":"https://jira.mariadb.org/browse/MDEV-40396","source":"security-advisories@github.com","tags":["Issue Tracking"]},{"url":"https://jira.mariadb.org/browse/MDEV-40639","source":"security-advisories@github.com","tags":["Issue Tracking"]}]}