CVE-2026-144664 PUBLISHED

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

Assigner: AISLE
Reserved: 04.12.2026 Published: 04.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor MariaDB
Product MariaDB Server
Versions Default: unaffected
  • affected from 0 to 10.6.25 (excl.)
  • affected from 10.7.0 to 10.11.16 (excl.)
  • affected from 11.0.0 to 11.4.10 (excl.)
  • affected from 11.5.0 to 11.8.6 (excl.)
  • affected from 12.0.0 to 12.2.2 (excl.)

Credits

  • Pavel Kohout (AISLE Research) finder

References

Problem Types

  • Memory Allocation with Excessive Size Value CWE