CVE-2023-26785
Published: 17 October 2024
Summary
CVE-2023-26785 is a critical-severity Code Injection (CWE-94) vulnerability in Mariadb Mariadb. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 1.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
MariaDB version 10.5 contains a remote code execution vulnerability that can be triggered by loading arbitrary code from a shared object file as a user-defined function and then issuing a create function statement. The issue is tracked as CWE-94 and carries a CVSS 3.1 score of 9.8, reflecting network-accessible attack conditions with no required authentication or user interaction. The MariaDB Foundation disputes the report on the grounds that no privilege boundary is crossed.
An unauthenticated remote attacker can exploit the flaw to execute arbitrary code on the database server. Because the vector requires the ability to upload a shared object and execute privileged SQL statements, the practical impact depends on whether an attacker already possesses sufficient database rights.
The two referenced sources consist of a public proof-of-concept repository and an unrelated 2012 disclosure thread; neither supplies vendor mitigation guidance or patch details. The associated EPSS score has remained at 0.63 from its observed peak, indicating sustained but not newly emerging exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-30578
Vulnerability details
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.