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.
- BDU:2022-00903
- ALSA-2022:5826
- ALSA-2022:5948
- ALSA-2022:6443
- openSUSE-SU-2022:0731-1
- openSUSE-SU-2024:11867-1
- RHSA-2022:5759
- RHSA-2022:5826
- RHSA-2022:5948
- RHSA-2022:6306
- RHSA-2022:6443
- RHSA-2023:6821
- RLSA-2022:5826
- RLSA-2022:5948
- RLSA-2022:6443
- SUSE-SU-2022:0725-1
- SUSE-SU-2022:0726-1
- SUSE-SU-2022:0731-1
- SUSE-SU-2022:0731-2
- SUSE-SU-2022:0782-1
- Published
- Feb 18, 2022
- Updated
- Jun 17, 2026
- EPSS
- 0.6% · 52th percentile
- CWE
- CWE-121
Report tools
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.
Running WordPress? Scan your site free with WP Lens
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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| mariadb | mariadb | cpe:2.3:a:mariadb:mariadb |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | galera | before 26.4.11-1.module_el8.6.0+3072+3c630e87 | 26.4.11-1.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | galera | before 25.3.35-1.module_el8.6.0+3265+230ed96b | 25.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | Judy | before 1.0.5-18.module_el8.6.0+3139+3c630e87 | 1.0.5-18.module_el8.6.0+3139+3c630e87 |
| AlmaLinux:8 | Judy | before 1.0.5-18.module_el8.6.0+3072+3c630e87 | 1.0.5-18.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | mariadb-backup | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | mariadb-backup | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb-common | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb-common | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | mariadb-devel | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb-devel | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | mariadb-embedded | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb-embedded | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | mariadb-embedded-devel | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb-embedded-devel | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | mariadb-errmsg | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | mariadb-errmsg | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb-gssapi-server | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb-gssapi-server | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | mariadb-oqgraph-engine | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
| AlmaLinux:8 | mariadb-oqgraph-engine | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb-pam | before 3:10.5.16-2.module_el8.6.0+3072+3c630e87 | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 |
| AlmaLinux:8 | mariadb-server | before 3:10.3.35-1.module_el8.6.0+3265+230ed96b | 3:10.3.35-1.module_el8.6.0+3265+230ed96b |
+96
Same product
mariadb: all recordsOther 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 "cre40Plan
- 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 u40Plan
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 / package | Fixed version | Source |
|---|---|---|
| almalinux:galera | 26.4.11-1.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:Judy | 1.0.5-18.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-backup | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-common | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-devel | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-embedded | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-embedded-devel | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-errmsg | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-gssapi-server | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-oqgraph-engine | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mariadb-pam | 3:10.5.16-2.module_el8.6.0+3072+3c630e87 · AlmaLinux:8 | Package registry (OSV) |
| alpine:mariadb | 10.4.24-r0 · Alpine:v3.12 | Package registry (OSV) |
| debian:mariadb-10.5 | 1:10.5.15-0+deb11u1 · Debian:11 | Package registry (OSV) |
| opensuse:mariadb | 10.5.15-150300.3.15.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| opensuse:mariadb | 10.6.8-150400.3.7.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-backup | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-backup-syspaths | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-common | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-config | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-config-syspaths | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-connect-engine | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-debuginfo | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-devel | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-errmsg | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-gssapi-server | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-mariadb105-mariadb-libs | 3:10.5.16-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| rocky linux:galera | 0:26.4.11-1.module+el8.6.0+995+5ac2a483 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:Judy | 0:1.0.5-18.module+el8.4.0+427+adf35707 · Rocky Linux:8 | Package 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.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- AnonymousTrend Micro Zero Day Initiative
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.
- TR-22-0615 · Sep 14, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0526 · Aug 4, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0183 · Mar 1, 2022(Ubuntu GüvenlikZafiyeti)
- TR-22-0160 · Feb 21, 2022(MariaDB Güvenlik Zafiyeti)
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
Weakness class (CWE)
CWE-121 · Stack-based Buffer OverflowCVSS 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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
- mariadb.com/kb/en/security/
- security.netapp.com/advisory/ntap-20220318-0004/
- www.zerodayinitiative.com/advisories/ZDI-22-363/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.