CVE-2023-26785

CRITICAL

MariaDB 10.5 - Remote Code Execution via UDF Shared Object File

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2023-26785. PoCs published by Ant1sec-ops.

AI-analyzed exploit summary This repository provides a functional exploit for CVE-2023-26785, demonstrating a User-Defined Function (UDF) attack in MariaDB v10.5. The exploit involves compiling a malicious UDF, converting it to a hexadecimal format, and loading it into the database to execute arbitrary commands.

Description

MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via UDF Code in a Shared Object File, followed by a "create function" statement. NOTE: this is disputed by the MariaDB Foundation because no privilege boundary is crossed.

Exploits (1)

nomisec WORKING POC 3 stars
by Ant1sec-ops · poc
https://github.com/Ant1sec-ops/CVE-2023-26785

This repository provides a functional exploit for CVE-2023-26785, demonstrating a User-Defined Function (UDF) attack in MariaDB v10.5. The exploit involves compiling a malicious UDF, converting it to a hexadecimal format, and loading it into the database to execute arbitrary commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: MariaDB v10.5
Auth required
Prerequisites: Access to MariaDB with sufficient privileges to create functions and load plugins · Compilation tools (x86_64-w64-mingw32-gcc) · Ability to write files to the plugin directory
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (2)

Core 2
Core References
Exploit, Third Party Advisory
https://github.com/Ant1sec-ops/CVE-2023-26785

Scores

CVSS v3 9.8
EPSS 0.0210
EPSS Percentile 79.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-94
Status published
Products (1)
mariadb/mariadb 10.5.0
Published Oct 17, 2024
Tracked Since Feb 18, 2026