MariaDB ST_Area WKB Buffer Overflow (10.6.110.6.28, 10.11.19, 11.4.13)
CVE-2026-85745 Published on October 16, 2026
MariaDB: Out-of-bound buffer read on in `ST_Area` of a multipolygon.
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_Area 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.
Vulnerability Analysis
CVE-2026-85745 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Weakness Type
Buffer Over-read
The software reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer. This typically occurs when the pointer or its index is incremented to a position beyond the bounds of the buffer or when pointer arithmetic results in a position outside of the valid memory location to name a few. This may result in exposure of sensitive information or possibly a crash.
Affected Versions
MariaDB server:- Version >= 10.6.1, < 10.6.28 is affected.
- Version >= 10.11.1, < 10.11.19 is affected.
- Version >= 11.4.1, < 11.4.13 is affected.
- Version >= 11.8.1, < 11.8.9 is affected.
- Version >= 12.3.1, < 12.3.3 is affected.
- Version >= 13.0.1, < 13.0.2 is affected.