CVE-2026-85745: MariaDB: Out-of-bound buffer read on in `ST_Area` of a multipolygon.

Published Oct 15, 2026
·
Updated

An out-of-bounds read vulnerability was found in MariaDB's STArea function. An authenticated, low-privileged SQL user can trigger the flaw by supplying a crafted MULTIPOLYGON geometry, which allows reading beyond allocated heap memory. This can reportedly disclose heap contents and executable base addresses, enabling ASLR bypass. When chained with a separate use-after-free vulnerability, this information disclosure can facilitate privilege escalation to operating-system command execution.

The researcher reports successful exploitation against MariaDB 13.0.1-rc with ASLR, PIE, and Full RELRO enabled.

Reference: https://hackerone.com/reports/3856148

Other sources

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, STArea reads beyond the allocated buffer when processing invalid WKB for a MultiPolygon because the multi-polygon parser advances past a nested geometry header without first verifying enough input remains. A low-privileged remote attacker can supply malformed spatial data to disclose memory useful for bypassing ASLR as part of a multi-vulnerability chain. 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.

— MITRE

Affected Software

18 affected componentsFixes available
MariaDB MariaDB Server>=10.6.1<10.6.28, <10.11.19, <11.4.13, <11.8.9, <12.3.3, <13.0.2
MariaDB MariaDB>=10.6.1<10.6.28
MariaDB MariaDB>=10.11.1<10.11.19
MariaDB MariaDB>=11.4.1<11.4.13
MariaDB MariaDB>=11.8.1<11.8.9
MariaDB MariaDB>=12.3.1<12.3.3
MariaDB MariaDB=13.0.1
ubuntu/mariadb-10.0*
ubuntu/mariadb-10.1*
ubuntu/mariadb-10.3*
ubuntu/mariadb-10.6*
ubuntu/mariadb*
ubuntu/mariadb*
ubuntu/mariadb*
debian/mariadb<10.11.19-0+deb12u1
10.11.19-0+deb12u1
debian/mariadb<1:11.8.9+ds-0+deb13u1
1:11.8.9+ds-0+deb13u1
debian/mariadb<1:11.8.9+ds-1
1:11.8.9+ds-1
debian/mariadb
10.11.19-0+deb12u11:11.8.9+ds-0+deb13u11:11.8.9+ds-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mariadb to a version that resolves this vulnerability.

    Fixed in 10.11.19-0+deb12u1
  2. Upgrade

    Upgrade debian/mariadb to a version that resolves this vulnerability.

    Fixed in 1:11.8.9+ds-0+deb13u1
  3. Upgrade

    Upgrade debian/mariadb to a version that resolves this vulnerability.

    Fixed in 1:11.8.9+ds-1
  4. Upgrade

    Upgrade debian/mariadb to a version that resolves this vulnerability.

    Fixed in 10.11.19-0+deb12u1Fixed in 1:11.8.9+ds-0+deb13u1Fixed in 1:11.8.9+ds-1
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.6.28
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.11.19
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 11.4.13
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 11.8.9
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 12.3.3
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 13.0.2

Event History

Oct 15, 2026
Data Sourced
via Red Hat·10:21 AM
DescriptionSeverityAffected Software
Oct 16, 2026
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Oct 20, 2026
Data Sourced
via NVD·03:33 PM
RemedyAffected Software
Oct 28, 2026
Data Sourced
via OSV·08:17 PM
Affected Software
Nov 21, 2026
Updated
via OSV·01:00 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

An attacker must be able to connect remotely to the MariaDB server and operate with low-privileged credentials. They also need a path to submit malformed WKB spatial data that is processed as a MultiPolygon by ST_Area.

2

What is the practical impact?

The out-of-bounds read can disclose server memory. The disclosed memory may help bypass ASLR, but the issue is described as useful as part of a multi-vulnerability chain rather than providing direct integrity or availability impact.

3

Which releases contain the fix?

The issue is fixed in MariaDB 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2. Affected versions begin at 10.6.1 and include releases before the listed fixed versions in the affected release lines.

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