Skip to content
Friday, October 16, 2026AboutContactRSS
Vulnerabilities

MariaDB Server Patched for Critical Buffer Overflow in GIS Geometry Conversion

A critical flaw in MariaDB allows remote attackers to potentially execute code via crafted GIS objects, prompting immediate updates.

Updated with new details.
Illustration: A sleek silver database server sits on a dark desk, its front panel featuring a single blinking green LED light.
AI-generated illustration: Threat Times

Key points

  • The vulnerability, CVE-2026-85746, is rated 9.9 Critical on the CVSS scale.
  • It affects MariaDB Server versions from 10.6.1 through 13.0.2 before specific patch releases.
  • Patches are available for all affected branches, fixing the recursive serialization issue.

MariaDB has released security updates to address a critical buffer overflow vulnerability in its server software. The flaw, identified as CVE-2026-85746, allows low-privileged remote attackers to potentially execute arbitrary code. According to the National Vulnerability Database, the issue stems from how the server handles Geographic Information System objects.

At a glance

CVE
CVE-2026-85746
Product
MariaDB server
CVSS
9.9 Critical
Weakness
out-of-bounds write
Exploited
No known exploitation

The vulnerability exists in the ST_AsText function, which converts geometry data into Well-Known Text format. When processing deeply nested GeometryCollections, the recursive serialization process fails to account for consumed bytes or reserve sufficient space. This oversight allows the function to write beyond the allocated output buffer, leading to memory corruption.

Technical Context and Impact

The National Vulnerability Database rates CVE-2026-85746 with a CVSS score of 9.9, classifying it as Critical. The weakness is categorized under CWE-787, which relates to out-of-bounds write errors. While the buffer overflow itself corrupts memory, achieving full code execution typically requires combining this flaw with another vulnerability.

Despite the need for a secondary exploit, the remote nature of the attack and the low privilege requirement make it a significant threat. Attackers can submit specially crafted GIS objects to trigger the overflow. This means that any service exposing MariaDB to untrusted input is at risk of exploitation.

Affected Versions and Fixes

MariaDB is a community-developed fork of the MySQL server. The vulnerability affects a wide range of versions across multiple release branches. Specifically, versions 10.6.1 through 10.6.27, 10.11.1 through 10.11.18, 11.4.1 through 11.4.12, 11.8.1 through 11.8.8, 12.3.1 through 12.3.2, and 13.0.1 are vulnerable.

Patches have been released for all affected branches. The fixes are included in MariaDB Server versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2. Administrators should verify their current version against this list to determine if an update is required.

What should you do?

Organizations running MariaDB should immediately check their server versions to see if they fall within the affected ranges. If an affected version is in use, apply the latest patch provided by the vendor. Additionally, review access controls to limit who can submit GIS data to the database.

What to do and how to stay safe: MariaDB

  • Inventory all MariaDB Server instances to identify versions prior to the patched releases listed in the advisory.
  • Apply the vendor-provided updates to versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, or 13.0.2 as soon as possible.
  • Restrict database access to trusted applications and users to reduce the risk of remote exploitation.
  • Monitor system logs for unusual activity or memory corruption errors that might indicate an attempted attack.

Step-by-step guide: Risk-Based Vulnerability Management: Prioritize Fixes by Actual Danger

General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.

Frequently asked questions

What is the CVSS score for CVE-2026-85746?

The vulnerability has a CVSS score of 9.9, which is rated as Critical.

Which MariaDB versions are affected by this flaw?

Versions 10.6.1 through 10.6.27, 10.11.1 through 10.11.18, 11.4.1 through 11.4.12, 11.8.1 through 11.8.8, 12.3.1 through 12.3.2, and 13.0.1 are affected.

How can an attacker exploit this vulnerability?

A low-privileged remote attacker can submit a specially crafted GIS object to trigger a buffer overflow in the ST_AsText function.

Sources

  1. CVE Program
Related articles