🛡️ CVE-2022-24048 on Debian — mariadb-10.5
Description
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.
Distribution advisory
This page covers CVE-2022-24048 as tracked by Debian, for the package mariadb-10.5. The fix is available in version 1:10.5.15-0+deb11u1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2022-24048 is classified as CWE-121: Stack-based Buffer Overflow. An oversized write to a stack buffer overwrites saved state such as return addresses, which can redirect execution.
Affected software
DEBIAN-CVE-2022-24048 is recorded against 1 package.
- mariadb-10.5 (fixed in 1:10.5.15-0+deb11u1)
Timeline and source
Published on 18 February 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-24048 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| mariadb-10.5 | — | 1:10.5.15-0+deb11u1 |
References
Similar Threats
- Unknown DEBIAN-CVE-2022-21427
- Unknown DEBIAN-CVE-2022-27376
- Unknown DEBIAN-CVE-2022-27377
- Unknown DEBIAN-CVE-2022-24050
- Unknown DEBIAN-CVE-2022-24051
Site Security Check
Is mariadb-10.5 part of your stack?
DEBIAN-CVE-2022-24048 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.