CVE-2026-85746
mariadb: MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
Overview
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.
Source: OX vulnerability database
Severity
9.9 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness: CWE-787
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | mariadb | >=10.6.1, <10.6.28>=10.11.0, <10.11.19>=11.4.0, <11.4.13>=11.8.0, <11.8.9>=12.3.0, <12.3.3+1 more | 10.6.2810.11.1911.4.1311.8.912.3.3 |
| Bitnami | mariadb-min | >=10.6.1, <10.6.28>=10.11.0, <10.11.19>=11.4.0, <11.4.13>=11.8.0, <11.8.9>=12.3.0, <12.3.3+1 more | 10.6.2810.11.1911.4.1311.8.912.3.3 |
| Bitnami | mysql-client | >=10.6.1, <10.6.28>=10.11.0, <10.11.19>=11.4.0, <11.4.13>=11.8.0, <11.8.9>=12.3.0, <12.3.3+1 more | 10.6.2810.11.1911.4.1311.8.912.3.3 |
Open a package to see all its vulnerabilities.
Operating systems · 17 fixes
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | mariadb +4 | 10.11.19-1.ph4 |
| 5.0 | mariadb +4 | 11.8.9-1.ph5 |
Red Hat 6 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | mariadb +12 | affected |
| 8 (mariadb:10.11) | galera +15 | affected |
| 8 (mariadb:10.3) | galera +15 | affected |
| 9 | mariadb +13 | affected |
| 9 (mariadb:10.11) | mariadb +13 | affected |
| 9 (mariadb:11.8) | mariadb +13 | affected |
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | mariadb1011 +28 | 3:10.11.19-1.amzn2023.0.1 |
| 2023 | mariadb114 +28 | 3:11.4.13-1.amzn2023.0.1 |
| 2023 | mariadb118 +27 | 3:11.8.9-1.amzn2023.0.1 |
| 2023 | mariadb123 +27 | 3:12.3.3-2.amzn2023.0.1 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | mariadb | affected |
| 13 | mariadb | affected |
| 14 | mariadb | 1:11.8.9+ds-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| mariadb | 1:11.8.9+ds-2 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libmariadbd-devel +9 | 12.3.2-3.1 | openSUSE-SU-2026:12245-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-85746
- github.com https://github.com/MariaDB/server/commit/5c04ca5524385356ff7cf84974a7d491974c1f85
- 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
- github.com https://github.com/MariaDB/server/security/advisories/GHSA-8fvj-c57c-pggx
- jira.mariadb.org https://jira.mariadb.org/browse/MDEV-40329
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.