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.
https://jira.mariadb.org/browse/MDEV-39281
https://github.com/MariaDB/server/commit/04e993f0bff982d134f87af51667466c47cbd248
Published: 2026-12-04
Updated: 2026-12-04
Base Score: 9.7
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:P
Severity: High
Base Score: 4.4
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
Severity: Medium
Base Score: 5.9
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00794