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

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

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.

Description quoted from the CVE record (assigned by GitHub_M, published 2026-10-16).

Weakness: CWE-787: Out-of-bounds Write

How it can be exploited

Exploitable over the network with low attack complexity needing low privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: total.

Public exploit evidence (Exploit Observer)

Also known as: BDU:2026-17105, EUVD-2026-102940

VEDAS cluster: VEDAS:DIVINEGLACIER

Exploit Observer links 3 pieces of public exploit code or detection modules that name this CVE or one of its aliases.

Exploit code and modules (3)

Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.

Vulnerability databases and vendor advisories (7)

Catalogue entries, not exploit evidence.

9 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.

VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.

Live scores

EPSS
0.010
low predicted chance of attack
VEDAS
0.986
strong exploit evidence
On CISA KEV
Not listed
Detection rule
Suricata

Who is affected

ProductAffectedNot affected
MariaDB serverversion >= 10.6.1, < 10.6.28
version >= 10.11.1, < 10.11.19
version >= 11.4.1, < 11.4.13
version >= 11.8.1, < 11.8.9
version >= 12.3.1, < 12.3.3
version >= 13.0.1, < 13.0.2
Not stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

Exploit Observer also maps it to: mariadb mariadb, mariadb_foundation mariadb.

How to fix it

No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.

How to detect it

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-85746 MariaDB - Heap Buffer Overflow Attempt. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert tcp $EXTERNAL_NET any -> $HOME_NET 3306 (msg:"VEDAS CVE-2026-85746 MariaDB - Heap Buffer Overflow Attempt"; flow:established,to_server; content:"ST_AsText"; nocase; content:"GEOMETRYCOLLECTION(GEOMETRYCOLLECTION("; nocase; fast_pattern; classtype:attempted-admin; reference:cve,CVE-2026-85746; reference:url,https://www.exploit.observer/?keyword=CVE-2026-85746&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=mariadb&match=exact; sid:1078600; rev:1;)

CVE-2026-85746.rules on GitHub

References

Other references

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.