{"schema":"threatline.record/2","record":{"id":"CVE-2026-85748","aliases":["GHSA-mv8g-9f7q-hprm"],"summary":"MariaDB: Use-after-free with a large number of SYS_REFCURSOR's","details":"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.","categories":["Databases"],"product":"server","vendor":"MariaDB","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-85748","source_modified_at":"2026-10-16T16:54:40.841Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"server","vendor":"MariaDB","versions":[{"version":">= 12.3.1, < 12.3.3","status":"affected"},{"version":">= 13.0.1, < 13.0.2","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":9.9,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00547,"percentile":0.45113,"score_date":"2026-10-23"},"published_at":"2026-10-16T16:28:55.829Z","modified_at":"2026-10-16T16:54:40.841Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-85748","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-16T16:54:40.841Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-85748","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://jira.mariadb.org/browse/MDEV-40396","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://jira.mariadb.org/browse/MDEV-40639","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-16T16:54:30.361781Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"vendor and product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-16T16:54:40.841Z","content_hash":"0bdbd703d46d1e2b3fcafad1d19166d1890dd963a35c8cbc37c337c4934dc038"}}
