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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | mariadb | 10.11.16-1 | — |
| Azure Linux 2 (CBL-Mariner) | mariadb | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
GitHub 1 repository
-
Kelnor/CVE-2026-3494_Verfication ★ 0 · May 3, 2026
Reproduction and Analysis of CVE-2026-3494
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 8
- ALAS2023-2026-1844 Important: mariadb1011 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 22, 2026
- SUSE-SU-2026:22095-1 Security update for mariadb SUSE / openSUSE Security Updates · Jun 16, 2026
- WID-SEC-2026-0585 MariaDB (Server Audit Plugin): Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Jun 14, 2026
- openSUSE-SU-2026:20933-1 Security update for mariadb SUSE / openSUSE Security Updates · Jun 13, 2026
- ALAS2023-2026-1827 Moderate: mariadb114 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 12, 2026
- SUSE-SU-2026:2330-1 Security update for mariadb SUSE / openSUSE Security Updates · Jun 10, 2026
- ALAS2023-2026-1811 Moderate: mariadb1011 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 8, 2026
- openSUSE-SU-2026:10897-1 libmariadbd-devel-11.8.7-1.1 on GA media SUSE / openSUSE Security Updates · May 30, 2026