Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-32091

CVE-2022-32091: MariaDB Use-After-Free Vulnerability

CVE-2022-32091 is a use-after-free vulnerability in MariaDB v10.7 affecting memory sanitization functions. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published: February 11, 2026

CVE-2022-32091 Overview

CVE-2022-32091 is a use-after-poison memory corruption vulnerability discovered in MariaDB v10.7. The vulnerability exists in the __interceptor_memset function located at /libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc. This use-after-free class vulnerability (CWE-416) can be exploited remotely over the network without requiring authentication or user interaction, potentially leading to denial of service conditions affecting database availability.

Critical Impact

Remote attackers can exploit this memory corruption vulnerability to cause denial of service conditions in MariaDB database servers, disrupting critical database operations and application availability.

Affected Products

  • MariaDB v10.7 and related version branches
  • Debian Linux 10.0
  • Fedora 35, 36, and 37

Discovery Timeline

  • July 1, 2022 - CVE-2022-32091 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-32091

Vulnerability Analysis

This vulnerability is classified as a use-after-poison condition, which is a variant of use-after-free (CWE-416) memory corruption. Use-after-poison vulnerabilities occur when memory that has been marked as "poisoned" by memory sanitizers (typically during debugging or security-hardened builds) is subsequently accessed. In production scenarios without sanitizers, this manifests as use-after-free behavior where freed memory is accessed, potentially leading to memory corruption.

The vulnerable code path involves the __interceptor_memset function in the libsanitizer common interceptors module. When triggered, an attacker can cause the database server to access memory that has been deallocated, resulting in undefined behavior that typically manifests as a crash or denial of service condition.

The network-accessible nature of this vulnerability means that remote attackers can trigger the condition without requiring any privileges or user interaction, making it particularly concerning for internet-facing database deployments.

Root Cause

The root cause of CVE-2022-32091 lies in improper memory lifecycle management within MariaDB's codebase. Specifically, the vulnerability occurs when memory is freed but references to that memory location are retained and subsequently used. When the __interceptor_memset function attempts to operate on this freed memory region, it triggers the use-after-poison condition detected by AddressSanitizer (ASan) instrumentation.

This class of vulnerability typically stems from complex object lifetime management where reference counting or ownership semantics are not properly enforced across all code paths.

Attack Vector

The attack vector for CVE-2022-32091 is network-based, allowing remote exploitation. An attacker can craft specific database queries or connection sequences that trigger the vulnerable code path in MariaDB. The attack does not require authentication or any form of user interaction, making it particularly dangerous for exposed database instances.

The exploitation flow involves:

  1. Establishing a network connection to the vulnerable MariaDB server
  2. Sending specially crafted requests that trigger the memory deallocation
  3. Subsequent operations cause access to the freed memory region
  4. The server crashes or enters an unstable state, causing denial of service

Technical details regarding the specific trigger conditions can be found in the MariaDB Jira Issue MDEV-26431.

Detection Methods for CVE-2022-32091

Indicators of Compromise

  • Unexpected MariaDB server crashes or restarts, particularly during query processing
  • Error logs showing memory access violations or segmentation faults in libsanitizer components
  • Unusual patterns of connection attempts followed by immediate server instability
  • Core dump files indicating memory corruption in __interceptor_memset or related functions

Detection Strategies

  • Monitor MariaDB error logs for segmentation fault messages and abnormal termination events
  • Implement database availability monitoring to detect unexpected service interruptions
  • Deploy network intrusion detection systems to identify suspicious query patterns targeting MariaDB
  • Use memory debugging tools like AddressSanitizer in testing environments to identify exploitation attempts

Monitoring Recommendations

  • Configure alerting for MariaDB process crashes and automatic restart events
  • Implement centralized log aggregation for database servers to correlate crash events across infrastructure
  • Monitor network traffic patterns to MariaDB ports (default 3306) for anomalous connection behavior
  • Establish baseline metrics for database stability and alert on deviation from normal operation patterns

How to Mitigate CVE-2022-32091

Immediate Actions Required

  • Update MariaDB to the latest patched version available for your distribution
  • Review firewall rules to restrict database access to trusted networks and hosts only
  • Implement network segmentation to isolate database servers from direct internet exposure
  • Enable database connection rate limiting to reduce potential attack surface

Patch Information

Security patches addressing CVE-2022-32091 have been released by MariaDB and downstream distributions. Organizations should apply updates from their respective distribution channels:

  • Debian: Security updates are available via the Debian LTS Security Announcement
  • Fedora: Updates are available through the Fedora package repositories for Fedora 35, 36, and 37
  • NetApp: Affected NetApp products should reference the NetApp Security Advisory ntap-20220818-0005

Consult the MariaDB Jira Issue MDEV-26431 for detailed patch information and version-specific guidance.

Workarounds

  • Restrict network access to MariaDB servers using firewall rules to allow only trusted IP addresses
  • Implement a reverse proxy or connection pooler that can provide additional access controls
  • Enable MariaDB's built-in connection limits to reduce the impact of potential exploitation attempts
  • Consider deploying MariaDB behind a VPN for environments where direct internet access is required
bash
# Configuration example - Restrict MariaDB network binding
# Edit /etc/mysql/mariadb.conf.d/50-server.cnf

# Bind to localhost only if remote access is not required
bind-address = 127.0.0.1

# Or bind to specific trusted interface
# bind-address = 10.0.0.5

# Limit maximum connections to reduce DoS impact
max_connections = 100

# Enable connection rate limiting
max_connect_errors = 10

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechMariadb

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • MariaDB Jira Issue MDEV-26431

  • Debian LTS Security Announcement

  • Fedora Package Announcement 1

  • Fedora Package Announcement 2

  • Fedora Package Announcement 3

  • NetApp Security Advisory ntap-20220818-0005
  • Related CVEs
  • CVE-2022-32081: MariaDB Use-After-Free Vulnerability

  • CVE-2022-27457: MariaDB Use-After-Free Vulnerability

  • CVE-2026-35549: MariaDB Server DoS Vulnerability

  • CVE-2026-32710: MariaDB Server RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English