CVE-2026-85746: MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections

Published Oct 16, 2026
·
Updated

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, STAsText 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 Software

1 affected component
MariaDB MariaDB Server>=10.6.1<10.6.28, <10.11.19, <11.4.13, <11.8.9, <12.3.3, <13.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 10.6.28
  2. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 10.11.19
  3. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 11.4.13
  4. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 11.8.9
  5. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 12.3.3
  6. Upgrade

    Upgrade MariaDB to a version that resolves this vulnerability.

    Fixed in 13.0.2

Event History

Oct 16, 2026
CVE Published
via MITRE·04:27 PM
Data Sourced
via MITRE·04:27 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

MariaDB Server deployments in the affected release ranges are exposed, including versions from 10.6.1 up to the listed fixes. The fixed releases are 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

2

What access does an attacker need?

A remote attacker needs low-privileged access and the ability to submit a specially crafted GIS object. No user interaction is required.

3

What is the recommended remediation?

Upgrade to the applicable fixed MariaDB release: 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2. The provided data does not specify an alternative mitigation for systems that cannot be patched immediately.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203