Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Duplicate
-
11.4.0, 11.8
-
None
-
ubuntu20.04,x86
-
Not for Release Notes
Description
This vulnerability occurs in MariaDB's optimize_keyuse function, located in sql/sql_select.cc at line 7687. A segmentation fault (SIGSEGV) is triggered due to a NULL pointer dereference on tmp_table->file when computing keyuse->ref_table_rows. The issue arises during the join optimization phase, where insufficient null checks on temporary table references can lead to a crash. An attacker can exploit this flaw to cause a denial-of-service (DoS) via specially crafted SQL queries.
Attachments
Issue Links
- duplicates
-
MDEV-32086 Server crash when inserting from derived table containing insert target table
-
- Closed
-
-
MDEV-33139 Crash of INSERT SELECT when preparing structures for split optimization
-
- Closed
-