Read the docs

Stack exhaustion in MariaDB Server Spider engine via user variable

Priority MEDIUM 42CWE-789Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
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-789.

Summary

MariaDB Server before 10.6.25, from 10.7.0 before 10.11.16, from 11.0.0 before 11.4.10, from 11.5.0 before 11.8.6, and from 12.0.0 before 12.2.2 is affected. An uncontrolled stack allocation in spider_conn_queue_loop_check() (CWE-789) sizes buffers by the length of a user-controlled value. An authenticated user who can query a Spider table can set a very long loop-detection user variable in their own session and crash the server by exhausting the thread stack.

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

Description from the CNA

MariaDB Server before 10.6.25, 10.7 through 10.11.x before 10.11.16, 11.0 through 11.4.x before 11.4.10, 11.5 through 11.8.x before 11.8.6, and 12.0 through 12.2.x before 12.2.2 contains an uncontrolled stack allocation in spider_conn_queue_loop_check() in storage/spider/spd_conn.cc. The Spider storage engine reads its loop-detection user variable (@`spider_lc_<table path>`) from the session and used alloca() to allocate stack buffers sized by the length of its value. Authenticated users who can query a Spider table can set this variable to a very long string in their own session and then access the table, exhausting the thread stack and crashing the server.

Why it matters now

Fix Fixed MariaDB Server (MariaDB): 10.6.25, 10.11.16, 11.4.10 +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.25; 10.7.0 to before 10.11.16; 11.0.0 to before 11.4.10; 11.5.0 to before 11.8.6; 12.0.0 to before 12.2.210.6.25, 10.11.16, 11.4.10, 11.8.6, 12.2.2Patch availableCNA
  • MariaDB Server VendorMariaDB Affected before 10.6.25; 10.7.0 to before 10.11.16; 11.0.0 to before 11.4.10; 11.5.0 to before 11.8.6; 12.0.0 to before 12.2.2 Fixed in 10.6.25, 10.11.16, 11.4.10, 11.8.6, 12.2.2 Patch available CNA

Remediation

Upgrade MariaDB Server to 10.6.25, 10.11.16, 11.4.10, 11.8.6 or 12.2.2. Red Hat fixes Red Hat Hardened Images in 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.25, 10.11.16, 11.4.10, 11.8.6, 12.2.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

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    MariaDB Server 10.11.16, 10.6.25 and 3 more versions

    2 records Highest priority Priority MEDIUM 2 MEDIUM

    Other records, highest priority first

    • TI-2026-104009 MariaDB Server Stack-Based Buffer Overflow in WSREP Key SerializationPriority MEDIUM 49

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-144664
  2. 2026-12-04 Alias added: GHSA-whvv-hvjq-cxf8
  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