# CVE-2022-24048

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-02-18 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2022-24048, UBUNTU-CVE-2022-24048, DEBIAN-CVE-2022-24048
- Record: https://cvemate.com/vulnerability/CVE-2022-24048 · JSON: https://cvemate.com/vulnerability/CVE-2022-24048/json

## Description

```text
MariaDB CONNECT Storage Engine Stack-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of MariaDB. Authentication is required to exploit this vulnerability. The specific flaw exists within the processing of SQL queries. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16191.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.694%, percentile 54.344%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine mariadb (Alpine Linux): ≥ 10.2.0, \< 10.4.24-r0 \| ≥ 10.2.0, \< 10.5.15-r0 \| ≥ 10.2.0, \< 10.6.7-r0 \| ≥ 10.4.0, \< 10.4.24-r0 \| ≥ 10.5.0, \< 10.5.15-r0 \| ≥ 10.6.0, \< 10.6.7-r0
- debian mariadb-10.5 (Debian): \< 1:10.5.15-0+deb11u1
- ubuntu mariadb-10.0 (Ubuntu): All versions (No fix recorded)
- ubuntu mariadb-10.1 (Ubuntu): All versions (No fix recorded)
- ubuntu mariadb-10.3 (Ubuntu): \< 1:10.3.34-0ubuntu0.20.04.1
- fedoraproject fedora: 34 \| 35 \| 36
- mariadb mariadb: 10.6.5 \| ≥ 10.2.0, \< 10.2.42 \| ≥ 10.3.0, \< 10.3.33 \| ≥ 10.4.0, \< 10.4.23 \| ≥ 10.5.0, \< 10.5.14 \| ≥ 10.6.0, \< 10.6.6 \| ≥ 10.7.0, \< 10.7.2 \| 10.8.0

## References

- <https://mariadb.com/kb/en/security/>
- <https://www.zerodayinitiative.com/advisories/ZDI-22-363/>
- <https://security.netapp.com/advisory/ntap-20220318-0004/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/>
- <https://security.alpinelinux.org/vuln/CVE-2022-24048>
- <https://ubuntu.com/security/CVE-2022-24048>
- <https://ubuntu.com/security/notices/USN-5305-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-24048>
- <https://security-tracker.debian.org/tracker/CVE-2022-24048>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24048>

---

Data as of 2026-12-05T08:24:06.366Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
