CVE-2026-85746
9.9critical
MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
- Severity
- 9.9critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.97% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-MARIADB-2026-85746BIT-MARIADB-MIN-2026-85746BIT-MYSQL-CLIENT-2026-85746GHSA-8fvj-c57c-pggx
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
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| mariadb mariadb | from 10.6.1 before 10.6.28, from 10.11.1 before 10.11.19, from 11.4.1 before 11.4.13, from 11.8.1 before 11.8.9, from 12.3.1 before 12.3.3, 13.0.1 | NVD |
| mariadb (Bitnami) | from 10.6.1 before 10.6.28, from 10.11.0 before 10.11.19, from 11.4.0 before 11.4.13, from 11.8.0 before 11.8.9, from 12.3.0 before 12.3.3, from 13.0.0 before 13.0.2 | Bitnami Vulnerability Database |
| mariadb-min (Bitnami) | from 10.6.1 before 10.6.28, from 10.11.0 before 10.11.19, from 11.4.0 before 11.4.13, from 11.8.0 before 11.8.9, from 12.3.0 before 12.3.3, from 13.0.0 before 13.0.2 | Bitnami Vulnerability Database |
| mysql-client (Bitnami) | from 10.6.1 before 10.6.28, from 10.11.0 before 10.11.19, from 11.4.0 before 11.4.13, from 11.8.0 before 11.8.9, from 12.3.0 before 12.3.3, from 13.0.0 before 13.0.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx | advisory, vendor-advisory | |
| https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85 | fix, patch | |
| https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19 | article, release-notes | |
| https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28 | article, release-notes | |
| https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13 | article, release-notes | |
| https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9 | article, release-notes | |
| https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3 | article, release-notes | |
| https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2 | article, release-notes | |
| https://jira.mariadb.org/browse/MDEV-40329 | issue-tracking, report | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-85746 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-85746 changed 2026-10-16 | CVE Terms of Use |
| NVD | CVE-2026-85746 changed 2026-10-20 | Public domain |
| Bitnami Vulnerability Database | BIT-MARIADB-2026-85746 changed 2026-10-22 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MARIADB-MIN-2026-85746 changed 2026-10-22 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MYSQL-CLIENT-2026-85746 changed 2026-10-22 | Apache-2.0 |