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
Score: 9.9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

The vulnerability is an out‑of‑bounds write in the ST_AsText function of MariaDB server caused by recursive serialization of deeply nested GeometryCollections. The function fails to account for bytes already consumed and does not reserve sufficient buffer space, leading to a buffer overflow. An attacker who can submit malicious GIS data to the database can corrupt memory, potentially gaining arbitrary code execution when combined with another vulnerability. This flaw threatens confidentiality, integrity, and availability by allowing memory corruption via a simple database query.

Affected Systems

MariaDB server is affected. Versions 10.6.1 through 10.6.28, 10.11.1 through 10.11.19, 11.4.1 through 11.4.13, 11.8.1 through 11.8.9, 12.3.1 through 12.3.3, and 13.0.1 through 13.0.2 all contain the flaw. Versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2 include the fix.

Risk and Exploitability

The CVSS score of 9.9 indicates a critical severity, and the lack of an EPSS entry means the current exploitation probability is unknown but the flaw remains high risk. The vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the flaw remotely by sending crafted GIS data over a network interface, requiring only low privileges. Because the overflow can lead to arbitrary code execution when combined with another exploit, the risk is severe for exposed database servers. Immediate remediation is essential to prevent potential compromise.

Generated by OpenCVE AI on October 16, 2026 at 18:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a patched MariaDB release such as 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2.
  • If upgrading is not feasible immediately, limit external access to the database and restrict the ability to submit GIS data to trusted users or applications.
  • Apply network segmentation or firewall rules to isolate the database from untrusted networks, reducing the attack surface.

Generated by OpenCVE AI on October 16, 2026 at 18:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T17:05:31.146Z

Reserved: 2026-09-04T14:50:16.720Z

Link: CVE-2026-85746

cve-icon Vulnrichment

Updated: 2026-10-16T16:49:59.450Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-16T17:17:51.167

Modified: 2026-10-16T18:19:16.007

Link: CVE-2026-85746

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T18:30:14Z

Weaknesses