Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 5.3CVE-2026-144664

MariaDB Server Spider Engine Stack Exhaustion via Loop-Detection User Variable

Published 04/12/2026 · Updated 04/12/2026 · MariaDB Server

Description

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.

Affected products and versions

MariaDB MariaDB Server< 10.6.25 · 10.7.0 – < 10.11.16 · 11.0.0 – < 11.4.10 · 11.5.0 – < 11.8.6 · 12.0.0 – < 12.2.2Fixed in: 10.6.25 · 10.11.16 · 11.4.10 · 11.8.6 · 12.2.2

CVSS vector, explained

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
None
Integrity
None
Availability
High impact

Weakness type (CWE)

  • CWE-789 Memory Allocation with Excessive Size Value

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.