CVE-2026-85745: MariaDB buffer over-read in ST_Area WKB parsing

CVE-2026-85745 · Severity: medium · CVSS 4.3 · Published 2026-10-16

MariaDB is a widely-used database server. An attacker with low database privileges can send specially crafted spatial geometry data that causes the server to read beyond allocated memory. While this primarily leaks information useful for bypassing memory protections, it could be chained with other vulnerabilities to achieve code execution or compromise the database.

Technologies: MariaDB Server. Vendors: Mariadb.

Quick answers

Is CVE-2026-85745 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-85745 being exploited in the wild.
How severe is CVE-2026-85745?
Medium severity, with a CVSS score of 4.3, published 16 October 2026.
Which products and versions are affected?
MariaDB Server 10.6.1-10.6.27, 10.11.0-10.11.18, 11.4.0-11.4.12, 11.8.0-11.8.8, 12.3.0-12.3.2, 13.0.0-13.0.1.
Is there a fix for CVE-2026-85745?
Yes: fixed in MariaDB Server 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-85745 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-85745?
Check whether you run MariaDB Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: MariaDB Server 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2

Technical details

The ST_Area function improperly validates buffer bounds when parsing WKB (Well-Known Binary) MultiPolygon data, allowing a read beyond allocated memory. The vulnerability exists in the multi-polygon parser which advances past nested geometry headers without first verifying sufficient input data remains. A remote attacker with low privileges can exploit this via malformed spatial data to leak memory contents useful for ASLR bypass as part of a multi-stage attack.

Affected products

  • MariaDB MariaDB Server 10.6.1-10.6.27, 10.11.0-10.11.18, 11.4.0-11.4.12, 11.8.0-11.8.8, 12.3.0-12.3.2, 13.0.0-13.0.1

Timeline

  • 2026-10-16: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.