Stack exhaustion in MariaDB Server Spider engine via user variable
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MariaDB | MariaDB Server | 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 | 10.6.25, 10.11.16, 11.4.10, 11.8.6, 12.2.2 | Patch available | CNA |
- 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 ImportantRed 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 ImportantRed 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Hardened Images | Fixed | RHSA-2026:101228, RHSA-2026:101236 |
Timeline
- 2026-12-04 Threatist record created from CVE-2026-144664
- 2026-12-04 Alias added: GHSA-whvv-hvjq-cxf8
- 2026-12-04 Affected versions changed · Red Hat
- 2026-12-04 CVSS score added · Red Hat
- 2026-12-04 Fix available: RHSA-2026:101236 · Red Hat
- 2026-12-04 Fix available: RHSA-2026:101228 · Red Hat
- 2026-12-04 Fix available: Red Hat Hardened Images · Red Hat
References
More MariaDB vulnerabilities
- 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
Sources
- CVE-2026-144664 · CVE Program
- CVE-2026-144664 · NVD
- GHSA-whvv-hvjq-cxf8 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-144664 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences