MariaDB 10.4/10.5/10.6/10.7 handler0alter.cc prepare_inplace_add_virtual memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in MariaDB 10.4/10.5/10.6/10.7 and classified as critical. This affects the function prepare_inplace_add_virtual of the file /storage/innobase/handler/handler0alter.cc. This manipulation causes memory corruption.
This vulnerability is handled as CVE-2022-32081. Additionally, an exploit exists.
Applying a patch is the recommended action to fix this issue.
Details
A vulnerability was found in MariaDB 10.4/10.5/10.6/10.7 (Database Software). It has been declared as critical. Affected by this vulnerability is the function prepare_inplace_add_virtual of the file /storage/innobase/handler/handler0alter.cc. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
MariaDB v10.4 to v10.7 was discovered to contain an use-after-poison in prepare_inplace_add_virtual at /storage/innobase/handler/handler0alter.cc.
The weakness was released 07/02/2022 as MDEV-26420. The advisory is shared at jira.mariadb.org. This vulnerability is known as CVE-2022-32081 since 05/31/2022. Technical details and also a public exploit are known.
It is possible to download the exploit at jira.mariadb.org. It is declared as proof-of-concept.
Applying a patch is able to eliminate this problem.
The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2022-0641). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- MariaDB MariaDB
- RESF Rocky Linux
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 5.5
VulDB Temp Score: 5.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Timeline
05/31/2022 🔍07/02/2022 🔍
07/02/2022 🔍
01/04/2026 🔍
Sources
Advisory: MDEV-26420Status: Confirmed
CVE: CVE-2022-32081 (🔍)
GCVE (CVE): GCVE-0-2022-32081
GCVE (VulDB): GCVE-100-203101
CERT Bund: WID-SEC-2022-0641 - MariaDB: Mehrere Schwachstellen ermöglichen Denial of Service
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 07/02/2022 07:51Updated: 01/04/2026 04:07
Changes: 07/02/2022 07:51 (44), 07/18/2022 08:40 (18), 01/04/2026 04:07 (21)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.