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

Summary

CVECVE-2026-144664
StatePUBLISHED
AssignerAISLE
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-04 02:17:11 UTC
Updated2026-12-04 02:17:11 UTC
DescriptionMariaDB 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.

Risk And Classification

Primary CVSS: v4.0 6 MEDIUM from 1a4f025a-074d-4105-b4e2-52bd8eabe2ea

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-789 | CWE-789 Memory Allocation with Excessive Size Value


VersionSourceTypeScoreSeverityVector
4.01a4f025a-074d-4105-b4e2-52bd8eabe2eaSecondary6MEDIUMCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/C...
4.0CNADECLARED6MEDIUMCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
3.11a4f025a-074d-4105-b4e2-52bd8eabe2eaSecondary5.3MEDIUMCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1CNADECLARED5.3MEDIUMCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Confidentiality
None
Integrity
None
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA MariaDB MariaDB Server affected 10.6.25 custom Not specified
CNA MariaDB MariaDB Server affected 10.7.0 10.11.16 custom Not specified
CNA MariaDB MariaDB Server affected 11.0.0 11.4.10 custom Not specified
CNA MariaDB MariaDB Server affected 11.5.0 11.8.6 custom Not specified
CNA MariaDB MariaDB Server affected 12.0.0 12.2.2 custom Not specified

References

ReferenceSourceLinkTags
jira.mariadb.org/browse/MDEV-38368 1a4f025a-074d-4105-b4e2-52bd8eabe2ea jira.mariadb.org
github.com/MariaDB/server/commit/64c9efbfa5748b6ff419ebd00e60decc6bdf9639 1a4f025a-074d-4105-b4e2-52bd8eabe2ea github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Stanislav Fort (AISLE Research) (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report