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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-85746— MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections

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 服务器的社区分支版本。在 10.6.1 至 10.6.28、10.11.19、11.4.13、11.8.9、12.3.3 和 13.0.2 版本中,当转换深度嵌套的 GeometryCollection 时,ST_AsText 函数可能向已分配输出缓冲区之外写入数据。这是因为递归 WKT 序列化过程未计算已消耗的字节数,也未预留足够的空间。低权限的远程攻击者可提交精心构造的 GIS 对象以破坏内存,若再结合其他漏洞,可能导致代码执行。该问题已在 10.6.28、10.11.19

CVSS 9.9 · Critical EPSS 0.63% · P49

Affected Version Matrix 6

VendorProduct Version RangeStatus
MariaDB server >= 10.6.1, < 10.6.28 affected
>= 10.11.1, < 10.11.19 affected
>= 11.4.1, < 11.4.13 affected
>= 11.8.1, < 11.8.9 affected
>= 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-85746

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: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
Source: CVE Program / CVE List V5
Vulnerability Description
MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, ST_AsText can write beyond an allocated output buffer when converting deeply nested GeometryCollections because recursive WKT serialization does not account for bytes consumed or reserve sufficient space. A low-privileged remote attacker can submit a specially crafted GIS object to corrupt memory and potentially achieve code execution when combined with another vulnerability. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 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 >= 10.6.1, < 10.6.28 -

II. Public POCs for CVE-2026-85746

# 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-85746

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

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

Vendor Advisories for CVE-2026-85746 (1)

Vendor Pages for CVE-2026-85746 (4)

Other References for CVE-2026-85746 (1)

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

CVE-2026-85748 9.9 CRITICAL MariaDB: Use-after-free with a large number of SYS_REFCURSOR's
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-85746

No comments yet


Leave a comment