CVE-2026-144662: MariaDB Server CONNECT Engine Stack-Based Buffer Overflow via OEM Table SUBTYPE
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.6.26 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.11.17 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 11.4.11 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 11.8.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 12.3.2
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs a MariaDB account with the FILE privilege, and the server must have the CONNECT engine installed. Exploitation also requires an existing shared library in the server's plugin directory that can be named by the OEM table's MODULE option.
What action triggers the overflow?
The attacker creates a CONNECT table of type OEM with a SUBTYPE longer than 36 characters, then accesses or opens that table. The vulnerable function upper-cases and copies the SUBTYPE into a fixed 40-byte stack buffer.
What is the expected impact?
The described outcome is a MariaDB Server crash, causing a denial of service. The supplied severity vector indicates no confidentiality or integrity impact.
What can be done before upgrading?
Limit the FILE privilege to trusted administrative users. Where operationally feasible, avoid installing or using the CONNECT engine and prevent untrusted users from creating or accessing OEM CONNECT tables.
Which releases need remediation?
Affected releases are versions 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.