CVE-2025-13699
mariadb: MariaDB: mariadb-dump utility vulnerable to remote code execution via improper path validation
Overview
Description
MariaDB mariadb-dump Utility Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of MariaDB. Interaction with the mariadb-dump utility is required to exploit this vulnerability but attack vectors may vary depending on the implementation.
The specific flaw exists within the handling of view names. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-27000.
Source: OX vulnerability database
Severity
7 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-22
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 105 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | mariadb | 0:10.11.15-1.azl3 |
Oracle Linux 3 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | mariadb +7 | 1:5.5.68-1.0.1.el7 |
| 8 | judy +1 | 1.0.5-18.0.1.module+el8.3.0+9616+7a81225f |
| 8 | asio-devel | 1.10.8-7.module+el8.1.0+5402+691bd77e |
| 8 | galera | 26.4.22-1.module+el8.10.0+90697+4b5f4cdd |
| 8 | mariadb +13 | 3:10.11.10-2.module+el8.10.0+90753+7c7ea859 |
| 9 | galera | 26.4.20-1.0.1.module+el9.5.0+90507+82ceef20 |
1 more row
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | mariadb +4 | 10.11.15-1.ph4 |
| 5.0 | mariadb +4 | 11.4.9-1.ph5 |
Red Hat 7 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | mariadb +7 | 1:5.5.68-1.el7_9.1 | RHSA-2026:0367 |
| 8 (mariadb-devel:10.3) | judy +1 | 0:1.0.5-18.module+el8.9.0+19449+ad5852d3 | RHSA-2026:0698 |
| 8 (mariadb-devel:10.3) | asio-devel | 0:1.10.8-7.module+el8.9.0+19449+ad5852d3 | RHSA-2026:0698 |
| 8 (mariadb-devel:10.3) | galera | 0:25.3.37-1.module+el8.9.0+19449+ad5852d3 | RHSA-2026:0698 |
| 8 (mariadb-devel:10.3) | mariadb +12 | 3:10.3.39-2.module+el8.10.0+23756+5eac0e54 | RHSA-2026:0698 |
| 8 (mariadb:10.11) | judy | 0:1.0.5-18.module+el8.10.0+21221+7bee72c1 | RHSA-2026:0232 |
40 more rows
SUSE Linux Enterprise 6 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | mariadb +3 | 10.2.44-3.56.1 | SUSE-SU-2025:4520-1 |
| 15.4 | libmariadbd-devel +5 | 10.6.24-150400.3.43.1 | SUSE-SU-2025:4493-1 |
| 15.5 | libmariadbd-devel +5 | 10.6.24-150400.3.43.1 | SUSE-SU-2025:4493-1 |
| 15.6 | libmariadbd-devel +5 | 10.11.15-150600.4.17.1 | SUSE-SU-2025:4502-1 |
| 15.7 | libmariadbd-devel +6 | 11.8.5-150700.3.9.1 | SUSE-SU-2025:4438-1 |
| 16.0 | libmariadbd-devel +6 | 11.8.5-160000.1.1 | SUSE-SU-2026:20018-1 |
alma 6 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | mariadb-common +1 | 3:10.11.15-1.el10_1 |
| 8 (mariadb:10.11) | judy | 1.0.5-18.module_el8.10.0+3794+c6a66d65 |
| 8 (mariadb:10.11) | galera | 26.4.20-1.module_el8.10.0+3955+6534edaf |
| 8 (mariadb:10.11) | mariadb +13 | 3:10.11.10-2.module_el8.10.0+4091+e8693c5e |
| 8 (mariadb:10.3) | judy | 1.0.5-18.module_el8.6.0+2867+72759d2f |
| 8 (mariadb:10.3) | galera | 25.3.37-1.module_el8.8.0+3609+204d4ab0 |
7 more rows
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | mariadb1011 +28 | 3:10.11.15-1.amzn2023.0.1 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | mariadb-10-5 | affected |
| 12 | mariadb | 1:10.11.18-0+deb12u1 |
| 13 | mariadb | 11.8.6-0+deb13u1 |
| 14 | mariadb | 1:11.8.5-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| mariadb | 11.8.6-0+deb13u1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | libmariadbd-devel +9 | 11.8.5-160000.1.1 | openSUSE-SU-2025:20175-1 |
rocky 6 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | mariadb +14 | 3:10.11.15-1.el10_1 |
| 8 (mariadb:10.11) | judy | 1.0.5-18.module+el8.10.0+1925+356c22e8 |
| 8 (mariadb:10.11) | judy | 1.0.5-18.module+el8.10.0+40062+b4bfe4b1 |
| 8 (mariadb:10.11) | judy | 1.0.5-18.module+el8.4.0+431+26aaed18 |
| 8 (mariadb:10.11) | galera | 26.4.20-1.module+el8.10.0+1925+356c22e8 |
| 8 (mariadb:10.11) | mariadb +13 | 3:10.11.10-2.module+el8.10.0+40064+062d4c63 |
13 more rows
root.io debian 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | mariadb-10-5 +1 | 1:10.5.29-0+deb11u1.root.io.1 |
| 12 | mariadb +1 | 1:10.11.14-0+deb12u2.root.io.3 |
| 13 | mariadb +1 | 11.8.6-0+deb13u1 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 24.04 | mariadb | affected |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:0233
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:0247
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-13699
- bugzilla.redhat.com https://bugzilla.redhat.com/2339221
- bugzilla.redhat.com https://bugzilla.redhat.com/2350916
- bugzilla.redhat.com https://bugzilla.redhat.com/2350917
- bugzilla.redhat.com https://bugzilla.redhat.com/2350918
- bugzilla.redhat.com https://bugzilla.redhat.com/2359885
- bugzilla.redhat.com https://bugzilla.redhat.com/2359963
- bugzilla.redhat.com https://bugzilla.redhat.com/2417693
Show all 21 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2417693
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-13699
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-0247.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:0233
- jira.mariadb.org https://jira.mariadb.org/browse/MDEV-37483
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-13699.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-0698.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-13699
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-13699
- www.zerodayinitiative.com https://www.zerodayinitiative.com/advisories/ZDI-25-1025/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.