Skip to content
OpenAdvisories
Critical · 9.9 CVE-2026-85746 EUVD-2026-102940

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

Published Oct 16, 2026 · Updated Oct 16, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mariadb 1:11.8.9+ds-1 —
Debian 13 mariadb No fix yet —
Debian 12 mariadb No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mariadb No fix yet —
Ubuntu 26.04 LTS mariadb No fix yet —
Ubuntu 24.04 LTS mariadb No fix yet —
Ubuntu 22.04 LTS mariadb-10.6 No fix yet —
Ubuntu 20.04 LTS mariadb-10.3 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS mariadb-10.1 No fix yet —
Ubuntu 16.04 LTS mariadb-10.0 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 mariadb10.11 +19 3:10.11.18-4.1.2.hum1 RHSA-2026:88864
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mariadb 12.3.2-3.1 openSUSE-SU-2026:12245-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 mariadb1011 +15 3:10.11.19-1.amzn2023.0.1 ALAS2023-2026-3308
Amazon Linux 2023 mariadb114 +15 3:11.4.13-1.amzn2023.0.1 ALAS2023-2026-3309
Amazon Linux 2023 mariadb118 +15 3:11.8.9-1.amzn2023.0.1 ALAS2023-2026-3310
Amazon Linux 2023 mariadb123 +15 3:12.3.3-2.amzn2023.0.1 ALAS2023-2026-3311
Amazon Linux 2 mariadb +7 1:5.5.68-1.amzn2.0.5 ALAS2-2026-4079

Advisories 8

References