Skip to content
OpenAdvisories

Description

In MariaDB server version through 11.8.5, when server audit plugin is enabled with server_audit_events variable configured with QUERY_DCL, QUERY_DDL, or QUERY_DML filtering, if an authenticated database user invokes a SQL statement prefixed with double-hyphen (—) or hash (#) style comments, the statement is not logged.

Affected products

VendorProductAffectedFixed
MariaDB Foundation MariaDB Server < 10.6.25, < 10.11.16, < 11.4.10, < 11.8.6 10.6.25
Amazon Aurora MySQL < 2.12.6, < 3.04.6, < 3.10.3, < 3.11.1 2.12.6
Amazon RDS for MySQL < 5.7.44-RDS.20260212, < 8.0.45, < 8.4.8 5.7.44-RDS.20260212
Amazon RDS for MariaDB < 10.6.25, < 10.11.16, < 11.4.10, < 11.8.6 10.6.25

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mariadb 1:11.8.6-1 —
Debian 13 mariadb 1:11.8.6-0+deb13u1 —
Debian 12 mariadb 1:10.11.18-0+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS mariadb No fix yet —
Ubuntu 22.04 LTS mariadb-10.6 No fix yet —
Ubuntu 20.04 LTS mariadb-10.3 No fix yet —
Ubuntu 18.04 LTS mariadb-10.1 No fix yet —
Ubuntu 16.04 LTS mariadb-10.0 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 mariadb 11.8.8-150700.3.15.1 SUSE-SU-2026:2330-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 mariadb 11.8.8-160000.1.1 SUSE-SU-2026:22095-1
SLES 16.0 mariadb 11.8.8-160000.1.1 SUSE-SU-2026:22095-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mariadb 11.8.7-1.1 openSUSE-SU-2026:10897-1
openSUSE Leap 16.0 mariadb 11.8.8-160000.1.1 openSUSE-SU-2026:20933-1
ReleasePackageFixed inAdvisory
Alpine v3.24 mariadb 11.8.6-r0 —
Alpine v3.23 mariadb 11.4.10-r0 —
Alpine v3.22 mariadb 11.4.10-r0 —
Alpine v3.21 mariadb 11.4.10-r0 —
Alpine v3.20 mariadb 10.11.16-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 mariadb1011 +15 3:10.11.18-1.amzn2023.0.1 ALAS2023-2026-1844, ALAS2023-2026-1811
Amazon Linux 2023 mariadb114 +15 3:11.4.10-1.amzn2023.0.1 ALAS2023-2026-1827

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 mariadb 10.11.16-1 —
Azure Linux 2 (CBL-Mariner) mariadb No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling mariadb-11.8 11.8.9-r1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 8

References