MariaDB 10.4/10.5/10.6/10.7 handler0alter.cc prepare_inplace_add_virtual memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Timelineinfo

05/31/2022 🔍
07/02/2022 +32 days 🔍
07/02/2022 +0 days 🔍
01/04/2026 +1282 days 🔍

Sourcesinfo

Advisory: MDEV-26420
Status: 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

Entryinfo

Created: 07/02/2022 07:51
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!