CVE-2022-32081
MariaDB Server vulnerability analysis and mitigation

Overview

CVE-2022-32081 affects MariaDB versions 10.4 through 10.7, involving a use-after-poison vulnerability in the prepareinplaceaddvirtual function at /storage/innobase/handler/handler0alter.cc. The vulnerability was discovered in July 2022 and affects the MariaDB database server software (Ubuntu Security, [Rapid7](https://www.rapid7.com/db/vulnerabilities/almalinux-cve-2022-32081/)).

Technical details

The vulnerability stems from a use-after-poison condition in the prepareinplaceadd_virtual function within the handler0alter.cc component of MariaDB's InnoDB storage engine. The issue occurs during the instant ADD/DROP operation of generated columns. The vulnerability has received a CVSS v3.1 base score of 9.8 (CRITICAL) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NetApp Security).

Impact

Successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The high severity score indicates potential for significant impact on system confidentiality, integrity, and availability (NetApp Security).

Mitigation and workarounds

The vulnerability has been fixed in MariaDB versions 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2, and 10.10.1. Users are advised to upgrade to these or later versions to address the security issue (MariaDB Jira, Red Hat Security).

Additional resources


SourceThis report was generated using AI

Related MariaDB Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-rocksdb-engine-debuginfo
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-embedded
NoYesMar 08, 2025
CVE-2023-52969MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb105-server-utils
NoYesMar 08, 2025
CVE-2023-52968MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-embedded-devel
NoYesMar 08, 2025
CVE-2025-21490MEDIUM4.9
  • MySQLMySQL
  • mariadb-galera
NoYesJan 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management