Skip to content
Noroxi
NVD / CVE Program· CNA zdi

CVE-2022-24048: MariaDB CONNECT Storage Engine Stack-based Buffer Overflow Privilege Escalation Vulnerability.

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.69% (FIRST EPSS); higher than 52.8% of all records.
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: galera (AlmaLinux:8) 26.4.11-1.module_el8.6.0+3072+3c630e87, 25.3.35-1.module_el8.6.0+3265+230ed96b; Judy (AlmaLinux:8) 1.0.5-18.module_el8.6.0+3139+3c630e87, 1.0.5-18.module_el8.6.0+3072+3c630e87; mariadb (AlmaLinux:8) 3:10.5.16-2.module_el8.6.0+3072+3c630e87, 3:10.3.35-1.module_el8.6.0+3265+230ed96b.
  • Mentioned 4 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to galera (AlmaLinux:8) 26.4.11-1.module_el8.6.0+3072+3c630e87, 25.3.35-1.module_el8.6.0+3265+230ed96b; Judy (AlmaLinux:8) 1.0.5-18.module_el8.6.0+3139+3c630e87, 1.0.5-18.module_el8.6.0+3072+3c630e87; mariadb (AlmaLinux:8) 3:10.5.16-2.module_el8.6.0+3072+3c630e87, 3:10.3.35-1.module_el8.6.0+3265+230ed96b or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Feb 18, 2022
Updated
Jun 17, 2026
EPSS
0.6% · 52th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.6%

CNA vs NVD score

NVD
7.8
CNA · zdi
7.0
0.8 point gap

CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2022-24048

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
mariadbmariadb
fedoraprojectfedora

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject fedora34
  • fedoraproject fedora35
  • fedoraproject fedora36
  • mariadb mariadb10.5.0 and later · before 10.5.14
  • mariadb mariadb10.6.0 and later · before 10.6.6
  • mariadb mariadb10.2.0 and later · before 10.2.42
  • mariadb mariadb10.7.0 and later · before 10.7.2
  • mariadb mariadb10.3.0 and later · before 10.3.33
  • mariadb mariadb10.4.0 and later · before 10.4.23
  • mariadb mariadb10.8.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (zdi). Independent of NVD's CPE analysis and usually ahead of it.

  • MariaDB MariaDB

    • 10.6.5affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8galerabefore 26.4.11-1.module_el8.6.0+3072+3c630e8726.4.11-1.module_el8.6.0+3072+3c630e87
AlmaLinux:8galerabefore 25.3.35-1.module_el8.6.0+3265+230ed96b25.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8Judybefore 1.0.5-18.module_el8.6.0+3139+3c630e871.0.5-18.module_el8.6.0+3139+3c630e87
AlmaLinux:8Judybefore 1.0.5-18.module_el8.6.0+3072+3c630e871.0.5-18.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadbbefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadbbefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8mariadb-backupbefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8mariadb-backupbefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadb-commonbefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadb-commonbefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8mariadb-develbefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadb-develbefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8mariadb-embeddedbefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadb-embeddedbefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8mariadb-embedded-develbefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadb-embedded-develbefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8mariadb-errmsgbefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8mariadb-errmsgbefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadb-gssapi-serverbefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadb-gssapi-serverbefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8mariadb-oqgraph-enginebefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b
AlmaLinux:8mariadb-oqgraph-enginebefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadb-pambefore 3:10.5.16-2.module_el8.6.0+3072+3c630e873:10.5.16-2.module_el8.6.0+3072+3c630e87
AlmaLinux:8mariadb-serverbefore 3:10.3.35-1.module_el8.6.0+3265+230ed96b3:10.3.35-1.module_el8.6.0+3265+230ed96b

+96

Other highest-scoring records for the same primary product.

  • CVE-2023-26785MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via UDF Code in a Shared Object File, followed by a "cre
    40Plan
  • CVE-2021-27928A remote code execution issue was discovered in MariaDB 10.2 before 10.2.37, 10.3 before 10.3.28, 10.4 before 10.4.18, and 10.5 before 10.5.
    40Plan
  • CVE-2012-5613MySQL 5.5.19 and possibly other versions, and MariaDB 5.5.28a and possibly other versions, when configured to assign the FILE privilege to u
    40Plan

Published before and after this one in the same product

  • ← EarlierCVE-2021-46668Jan 31, 2022 · MariaDB through 10.5.9 allows an application crash via certain long SELECT DISTINCT statements that improperly interact with storage-engine
    22Monitor
  • ← EarlierCVE-2021-46669Jan 31, 2022 · MariaDB through 10.5.9 allows attackers to trigger a convert_const_to_int use-after-free when the BIGINT data type is used.
    31Monitor
  • Later →CVE-2022-24050Feb 18, 2022 · MariaDB CONNECT Storage Engine Use-After-Free Privilege Escalation Vulnerability.
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:galera26.4.11-1.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:Judy1.0.5-18.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb-backup3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb-common3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb-devel3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb-embedded3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb-embedded-devel3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb-errmsg3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb-gssapi-server3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb-oqgraph-engine3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
almalinux:mariadb-pam3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8Package registry (OSV)
alpine:mariadb10.4.24-r0 · Alpine:v3.12Package registry (OSV)
debian:mariadb-10.51:10.5.15-0+deb11u1 · Debian:11Package registry (OSV)
opensuse:mariadb10.5.15-150300.3.15.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:mariadb10.6.8-150400.3.7.1 · openSUSE:Leap 15.4Package registry (OSV)
red hat:rh-mariadb105-mariadb3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-backup3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-backup-syspaths3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-common3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-config3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-config-syspaths3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-connect-engine3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-debuginfo3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-devel3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-errmsg3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-gssapi-server3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-mariadb105-mariadb-libs3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
rocky linux:galera0:26.4.11-1.module+el8.6.0+995+5ac2a483 · Rocky Linux:8Package registry (OSV)
rocky linux:Judy0:1.0.5-18.module+el8.4.0+427+adf35707 · Rocky Linux:8Package registry (OSV)

+4

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records