cvelo
P3 · MediumCVSS 5.3

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

  • CVE-2026-144664
  • GHSA-whvv-hvjq-cxf8
  • EUVD-2026-143952

Summary

In 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, the Spider storage engine uses alloca() in spider_conn_queue_loop_check() to allocate stack buffers sized by the length of its loop-detection user variable read from the session. An authenticated user who can query a Spider table can set that variable to a very long string and then access the table, exhausting the thread stack and crashing the server. The CVSS base score is 5.3, and the issue is not listed in the CISA known exploited vulnerabilities catalog.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

  • MariaDB MariaDB Server

    • If you run a version from 12.0.0 to before 12.2.2update to 12.2.2 or laterMinor version change: check the release notes
    • If you run a version from 11.5.0 to before 11.8.6update to 11.8.6 or laterMinor version change: check the release notes
    • If you run a version from 11.0.0 to before 11.4.10update to 11.4.10 or laterMinor version change: check the release notes
    • If you run a version from 10.7.0 to before 10.11.16update to 10.11.16 or laterMinor version change: check the release notes
    • If you run a version before 10.6.25update to 10.6.25 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • MariaDB MariaDB Server

    Affected versionsFixed in
    from 12.0.0 to before 12.2.212.2.2
    from 11.5.0 to before 11.8.611.8.6
    from 11.0.0 to before 11.4.1011.4.10
    from 10.7.0 to before 10.11.1610.11.16
    before 10.6.2510.6.25

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.