# CVE-2026-85746: MariaDB: Out-of-bound buffer write on in \`ST\_AsText\` of nested GeometryCollections

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-10-16 · Modified: 2026-10-16
- Aliases: DEBIAN-CVE-2026-85746, UBUNTU-CVE-2026-85746, RHSA-2026:88864
- Record: https://cvemate.com/vulnerability/CVE-2026-85746 · JSON: https://cvemate.com/vulnerability/CVE-2026-85746/json

## Description

```text
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.
```

## Signals

- CVSS: 9.9 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.97%, percentile 63.076%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- debian mariadb (Debian): All versions (No fix recorded) \| \< 10.11.19-0+deb12u1 \| \< 1:11.8.9+ds-0+deb13u1 \| \< 1:11.8.9+ds-1
- ubuntu mariadb (Ubuntu): All versions (No fix recorded)
- ubuntu mariadb-10.0 (Ubuntu): All versions (No fix recorded)
- ubuntu mariadb-10.1 (Ubuntu): All versions (No fix recorded)
- ubuntu mariadb-10.3 (Ubuntu): All versions (No fix recorded)
- ubuntu mariadb-10.6 (Ubuntu): All versions (No fix recorded)
- mariadb mariadb: ≥ 10.6.1, \< 10.6.28 \| ≥ 10.11.1, \< 10.11.19 \| ≥ 11.4.1, \< 11.4.13 \| ≥ 11.8.1, \< 11.8.9 \| ≥ 12.3.1, \< 12.3.3 \| 13.0.1
- mariadb server: ≥ 10.6.1, \< 10.6.28 \| ≥ 10.11.1, \< 10.11.19 \| ≥ 11.4.1, \< 11.4.13 \| ≥ 11.8.1, \< 11.8.9 \| ≥ 12.3.1, \< 12.3.3 \| ≥ 13.0.1, \< 13.0.2
- redhat mariadb10.11 (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-backup (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-client-utils (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-common (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-connect-engine (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-cracklib-password-check (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-devel (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-embedded (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-embedded-devel (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-errmsg (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-gssapi-server (Red Hat): \< 3:10.11.18-4.1.2.hum1
- redhat mariadb10.11-oqgraph-engine (Red Hat): \< 3:10.11.18-4.1.2.hum1

## References

- <https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx>
- <https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85>
- <https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19>
- <https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28>
- <https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13>
- <https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9>
- <https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3>
- <https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2>
- <https://jira.mariadb.org/browse/MDEV-40329>
- <https://security-tracker.debian.org/tracker/CVE-2026-85746>
- <https://ubuntu.com/security/CVE-2026-85746>
- <https://www.cve.org/CVERecord?id=CVE-2026-85746>
- <https://access.redhat.com/errata/RHSA-2026:88864>
- <https://access.redhat.com/security/cve/CVE-2026-85746>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_88864.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2554206>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-85746>

---

Data as of 2026-12-05T06:34:44.640Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
