CVE-2026-85746: MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
CVE-2026-85746 affects 48 listed versions of MariaDB in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
MariaDB
48 of 250 listed versions are affected. Fixed in 13.0.2, 12.3.3, 11.8.9, 11.4.13, 10.11.19, 10.6.28. The newest release, 13.1.2, is not affected.
13.0.1 12.3.2 12.3.1 11.8.8 11.8.7 11.8.6 11.8.5 11.8.4 11.8.3 11.8.2 11.4.12 11.4.11 11.4.10 11.4.9 11.4.8 11.4.7 11.4.6 11.4.5 11.4.4 11.4.3 11.4.2 10.11.18 10.11.17 10.11.16 10.11.15 10.11.14 10.11.13 10.11.12 10.11.11 10.11.10 10.11.9 10.11.8 10.11.7 10.11.6 10.6.27 10.6.26 10.6.25 10.6.24 10.6.23 10.6.22 10.6.21 10.6.20 10.6.19 10.6.18 10.6.17 10.6.16 10.6.15 10.6.14
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (GitHub)
Published by GitHub on 16 October 2026. Last changed 20 October 2026.
Sources
Check one version you run: look CVE-2026-85746 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.