Cyber Resilience

CVE-2024-27766

MediumPublic PoC

Published: 17 October 2024

Published
17 October 2024
Modified
10 July 2025
KEV Added
Patch
CVSS Score v3.1 5.7 CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
EPSS Score 0.3015 96.8th percentile
Risk Priority 29 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-27766 is a medium-severity Code Injection (CWE-94) vulnerability in Mariadb Mariadb. Its CVSS base score is 5.7 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation of Remote Services (T1210); ranked in the top 3.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

CVE-2024-27766 is an issue affecting MariaDB version 11.1 that permits a remote attacker to execute arbitrary code through the lib_mysqludf_sys.so function. The vulnerability is tracked under CWE-94 and carries a CVSS 3.1 score of 5.7 reflecting physical access vector requirements along with low attack complexity. The MariaDB Foundation disputes the report on the grounds that no privilege boundary is crossed.

An attacker with the ability to reach the affected component can leverage the flaw to run arbitrary code, resulting in impacts to confidentiality, integrity, and availability. The current EPSS score of 0.3015, with a recorded peak of 0.3069, indicates moderate exploitation interest without a pronounced post-disclosure climb from a low baseline.

Public references consist of a GitHub repository documenting the issue and an unrelated 2012 disclosure thread; neither source supplies official mitigation guidance or patch details from the vendor.

EU & UK References

Vulnerability details

An issue in MariaDB v.11.1 allows a remote attacker to execute arbitrary code via the lib_mysqludf_sys.so function. NOTE: this is disputed by the MariaDB Foundation because no privilege boundary is crossed.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1505.001 SQL Stored Procedures Persistence
Adversaries may abuse SQL stored procedures to establish persistent access to systems.
Why these techniques?

CVE-2024-27766 enables authenticated remote code execution on MariaDB servers via UDFs like lib_mysqludf_sys.so or custom payloads written to the plugin directory, facilitating exploitation of remote services (T1210) and abuse of server software components (T1505.001).

Affected Assets

mariadb
mariadb
11.1.0

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.

addresses: CWE-94

Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.

addresses: CWE-94

Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.

addresses: CWE-94

Validates inputs used in dynamic code generation to block injected directives.

addresses: CWE-94

Directly prevents execution of attacker-supplied code written into data memory regions.

References