CVE-2026-85746 MariaDB · server
AI summary
In MariaDB server from 10.6.1, ST_AsText can write beyond an allocated output buffer when converting deeply nested GeometryCollections. A low-privileged remote attacker can submit a crafted GIS object to corrupt memory and potentially achieve code execution when chained with another vulnerability. Critical (CVSS 9.9); fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3 and 13.0.2.
Official 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.
- Published
- 2026-10-16 17:17 UTC
- Modified
- 2026-10-20 15:33 UTC
- CVSS
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - EPSS
- 1.17% (percentile 67)
- ENISA EUVD
- EUVD-2026-102940
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
- CWE
- CWE-787
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- low
- User interaction
- none
- Scope
- changed
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85 - github.com
https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx - github.com
https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19 - github.com
https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28 - github.com
https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13 - github.com
https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9 - github.com
https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3 - github.com
https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2 - jira.mariadb.org
https://jira.mariadb.org/browse/MDEV-40329