Read the docs

Stack-based buffer overflow in MariaDB CONNECT engine OEM tables

Priority MEDIUM 42CWE-121Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-121 and the CVSS impact.

Summary

MariaDB Server before 10.6.26, from 10.7.0 before 10.11.17, from 11.0.0 before 11.4.11, from 11.5.0 before 11.8.7, and from 12.0.0 before 12.3.2 is affected. The OEMDEF::GetXdef() function copies the table SUBTYPE option into a 40-byte stack buffer without a length check (CWE-121). A user with the FILE privilege on a server with the CONNECT engine can create an OEM table with an overlong SUBTYPE and crash the server by accessing it.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Fix Fixed MariaDB Server (MariaDB): 10.6.26, 10.11.17, 11.4.11 +2Red Hat: 2 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
MariaDBMariaDB Serverbefore 10.6.26; 10.7.0 to before 10.11.17; 11.0.0 to before 11.4.11; 11.5.0 to before 11.8.7; 12.0.0 to before 12.3.210.6.26, 10.11.17, 11.4.11, 11.8.7, 12.3.2Patch availableCNA
  • MariaDB Server VendorMariaDB Affected before 10.6.26; 10.7.0 to before 10.11.17; 11.0.0 to before 11.4.11; 11.5.0 to before 11.8.7; 12.0.0 to before 12.3.2 Fixed in 10.6.26, 10.11.17, 11.4.11, 11.8.7, 12.3.2 Patch available CNA

Remediation

Upgrade to MariaDB Server 10.6.26, 10.11.17, 11.4.11, 11.8.7 or 12.3.2. Red Hat fixes this in Red Hat Hardened Images through RHSA-2026:101236 and RHSA-2026:101228.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA MariaDB Server (MariaDB) Fixed in 10.6.26, 10.11.17, 11.4.11, 11.8.7, 12.3.2

Red Hat 2 advisories

  • RHSA-2026:101236 Released 2026-11-21 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images mariadb11.8-3:11.8.10-1.hum1@aarch64, mariadb11.8-3:11.8.10-1.hum1@s390x, mariadb11.8-3:11.8.10-1.hum1@src +47
  • RHSA-2026:101228 Released 2026-11-21 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images mariadb10.11-3:10.11.20-1.hum1@aarch64, mariadb10.11-3:10.11.20-1.hum1@s390x, mariadb10.11-3:10.11.20-1.hum1@src +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Hardened ImagesFixed RHSA-2026:101228, RHSA-2026:101236

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-144662
  2. 2026-12-04 Alias added: GHSA-qj7j-rx5h-jf87
  3. 2026-12-04 Affected versions changed · Red Hat
  4. 2026-12-04 CVSS score added · Red Hat
  5. 2026-12-04 Fix available: RHSA-2026:101236 · Red Hat
  6. 2026-12-04 Fix available: RHSA-2026:101228 · Red Hat
  7. 2026-12-04 Fix available: Red Hat Hardened Images · Red Hat

References

  • TI-2023-11776 MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via… CVSS 3.1CRITICAL 9.8
  • TI-2016-05707 Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB… CVSS 3.0CRITICAL 9.8
  • TI-2022-00687 Infinite loop in BN_mod_sqrt() reachable when parsing certificates CVSS 3.1HIGH 7.5
  • TI-2014-00217 OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly… CVSS 3.1HIGH 7.4
  • TI-2014-00188 The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0… CVSS 2.0MEDIUM 6.8
  • TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
See all 462 →

Sources