MariaDB Server CONNECT Engine Stack-Based Buffer Overflow via OEM Table SUBTYPE
- CVE-2026-144662
- GHSA-qj7j-rx5h-jf87
- EUVD-2026-143950
Description
MariaDB Server before 10.6.26, 10.7 through 10.11.x before 10.11.17, 11.0 through 11.4.x before 11.4.11, 11.5 through 11.8.x before 11.8.7, and 12.0 through 12.3.x before 12.3.2 contains a stack-based buffer overflow in OEMDEF::GetXdef() in storage/connect/reldef.cpp. When opening a CONNECT table of type OEM, the function copied the table's SUBTYPE option, upper-cased, into a 40-byte stack buffer after the prefix "Get" without checking its length, unlike the equivalent check in OEMColumns(). Users with the FILE privilege on a server with the CONNECT engine installed can create an OEM table whose MODULE names an existing shared library in the plugin directory and whose SUBTYPE is longer than 36 characters, then access the table to overflow the buffer and crash the server.
Text from the CVE.org record.
Recommendation
MariaDB MariaDB Server
- If you run a version from 12.0.0 to before 12.3.2update to 12.3.2 or laterMinor version change: check the release notes
- If you run a version from 11.5.0 to before 11.8.7update to 11.8.7 or laterMinor version change: check the release notes
- If you run a version from 11.0.0 to before 11.4.11update to 11.4.11 or laterMinor version change: check the release notes
- If you run a version from 10.7.0 to before 10.11.17update to 10.11.17 or laterMinor version change: check the release notes
- If you run a version before 10.6.26update to 10.6.26 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
MariaDB MariaDB Server
Affected versions Fixed in from 12.0.0 to before 12.3.2 12.3.2 from 11.5.0 to before 11.8.7 11.8.7 from 11.0.0 to before 11.4.11 11.4.11 from 10.7.0 to before 10.11.17 10.11.17 before 10.6.26 10.6.26
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.