Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-85748— MariaDB: Use-after-free with a large number of SYS_REFCURSOR's

Quick assessment

Affected
MariaDB server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MariaDB 服务器是 MySQL 服务器的社区衍生版本。在 12.3.1 至 12.3.3 以及 13.0.2 版本中,SYS_REFCURSOR 的处理存在安全问题:由于游标数组重新分配时可能在例程上下文中遗留无效引用,低权限攻击者可打开大量 SYS_REFCURSOR,随后执行一次获取操作,从而触发“释放后使用”(use-after-free)漏洞。若该漏洞与其他漏洞结合利用,可实现远程代码执行。此问题已在 12.3.3 和 13.0.2 版本中得到修复。

CVSS 9.9 · Critical

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
MariaDB server >= 12.3.1, < 12.3.3 affected
>= 13.0.1, < 13.0.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85748

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
Source: CVE Program / CVE List V5
Vulnerability 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 vulnerability. This issue is fixed in versions 12.3.3 and 13.0.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
MariaDB server >= 12.3.1, < 12.3.3 -

II. Public POCs for CVE-2026-85748

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-85748

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-85748 (2)

Vendor Advisories for CVE-2026-85748 (1)

Vendor Pages for CVE-2026-85748 (4)

Same Patch Batch · MariaDB · 2026-10-16 · 7 CVEs total

CVE-2026-85746 9.9 CRITICAL MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
CVE-2026-92262 9.9 CRITICAL MariaDB: Numerous issues caused by historical #mysql50# tablename encoding bypass.
CVE-2026-97380 8.8 HIGH MariaDB: GRANT PROXY with empty password incorrectly checks grantor's privileges
CVE-2026-86047 7.7 HIGH MariaDB: Insufficient quoting in mariadb-dump and SHOW commands
CVE-2026-85985 5.4 MEDIUM MariaDB: Unauthorized file access via CONNECT engine UDFs
CVE-2026-85745 4.3 MEDIUM MariaDB: Out-of-bound buffer read on in `ST_Area` of a multipolygon.

IV. Related Vulnerabilities

V. Comments for CVE-2026-85748

No comments yet


Leave a comment